1
0

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:
Adam Izraelevitz 2014-09-15 12:53:19 -07:00 committed by Yunsup Lee
parent ef2e96211c
commit 484648d9c7

View File

@ -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