diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-30 07:06:52 +0100 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2020-12-30 07:06:52 +0100 |
commit | 7f28afd3accf6152a01befb955dd2f443ddfe68e (patch) | |
tree | f32fd28294f247d4fa17a3fd55995e2531eaedbd /Makefile | |
parent | 48d0aeb09483283c46491448304bf04865e176f5 (diff) | |
download | yosys-7f28afd3accf6152a01befb955dd2f443ddfe68e.tar.gz yosys-7f28afd3accf6152a01befb955dd2f443ddfe68e.tar.bz2 yosys-7f28afd3accf6152a01befb955dd2f443ddfe68e.zip |
makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -514,8 +514,8 @@ endif ifeq ($(ENABLE_GHDL),1) GHDL_PREFIX ?= $(PREFIX) -GHDL_INCLUDE_DIR ?= $(GHDL_DIR)/include -GHDL_LIB_DIR ?= $(GHDL_DIR)/lib +GHDL_INCLUDE_DIR ?= $(GHDL_PREFIX)/include +GHDL_LIB_DIR ?= $(GHDL_PREFIX)/lib CXXFLAGS += -I$(GHDL_INCLUDE_DIR) -DYOSYS_ENABLE_GHDL LDLIBS += $(GHDL_LIB_DIR)/libghdl.a $(file <$(GHDL_LIB_DIR)/libghdl.link) endif |