Makefile: override configuration variables from command line
This commit is contained in:
parent
a6fff7f0d7
commit
111f0e0b0a
8
Makefile
8
Makefile
|
@ -1,9 +1,9 @@
|
|||
PROJ_PATH = $(shell pwd)
|
||||
|
||||
DESIGN = gcd
|
||||
SDC_FILE = $(PROJ_PATH)/example/gcd.sdc
|
||||
RTL_FILES = $(shell find $(PROJ_PATH)/example -name "*.v")
|
||||
export CLK_FREQ_MHZ = 500
|
||||
DESIGN ?= gcd
|
||||
SDC_FILE ?= $(PROJ_PATH)/example/gcd.sdc
|
||||
RTL_FILES ?= $(shell find $(PROJ_PATH)/example -name "*.v")
|
||||
export CLK_FREQ_MHZ ?= 500
|
||||
|
||||
RESULT_DIR = $(PROJ_PATH)/result/$(DESIGN)
|
||||
NETLIST_V = $(RESULT_DIR)/$(DESIGN).netlist.v
|
||||
|
|
Loading…
Reference in New Issue