Skip to content

Commit

Permalink
Merge pull request #2515 from umarcor/fix/ghdl
Browse files Browse the repository at this point in the history
makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX
  • Loading branch information
whitequark committed Jan 1, 2021
2 parents bc2de45 + 7f28afd commit 8759ed9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8759ed9

Please sign in to comment.