From 7f28afd3accf6152a01befb955dd2f443ddfe68e Mon Sep 17 00:00:00 2001 From: umarcor Date: Wed, 30 Dec 2020 07:06:52 +0100 Subject: [PATCH] makefile: fix GHDL vars, replace GHDL_DIR with GHDL_PREFIX --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0883ef60f..fd7816898 100644 --- 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 -- 2.30.2