Changed CONFIG from a recursively expanded variable to a conditionally
assigned variable, allowing users to define CONFIG external to Makefile
This commit is contained in:
parent
ef2e96211c
commit
484648d9c7
@ -2,7 +2,7 @@ base_dir = $(abspath ..)
|
|||||||
sim_dir = .
|
sim_dir = .
|
||||||
output_dir = $(sim_dir)/output
|
output_dir = $(sim_dir)/output
|
||||||
PROJECT = rocketchip
|
PROJECT = rocketchip
|
||||||
CONFIG = DefaultCPPConfig
|
CONFIG ?= DefaultCPPConfig
|
||||||
|
|
||||||
all: emulator-$(CONFIG)
|
all: emulator-$(CONFIG)
|
||||||
debug: emulator-$(CONFIG)-debug
|
debug: emulator-$(CONFIG)-debug
|
||||||
|
Loading…
Reference in New Issue
Block a user