projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48d0aeb
)
makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX
author
umarcor
<unai.martinezcorral@ehu.eus>
Wed, 30 Dec 2020 06:06:52 +0000
(07:06 +0100)
committer
umarcor
<unai.martinezcorral@ehu.eus>
Wed, 30 Dec 2020 06:06:52 +0000
(07:06 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 0883ef60f64cc23278b6e432e927163ba686e657..fd7816898a3657998ba219747a6bec4d90958dc2 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-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