From 484648d9c733912558d4aa46a3a5f6e49b1c6fc4 Mon Sep 17 00:00:00 2001 From: Adam Izraelevitz Date: Mon, 15 Sep 2014 12:53:19 -0700 Subject: [PATCH] Changed CONFIG from a recursively expanded variable to a conditionally assigned variable, allowing users to define CONFIG external to Makefile --- emulator/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator/Makefile b/emulator/Makefile index f03e5c8e..7a3c863c 100644 --- a/emulator/Makefile +++ b/emulator/Makefile @@ -2,7 +2,7 @@ base_dir = $(abspath ..) sim_dir = . output_dir = $(sim_dir)/output PROJECT = rocketchip -CONFIG = DefaultCPPConfig +CONFIG ?= DefaultCPPConfig all: emulator-$(CONFIG) debug: emulator-$(CONFIG)-debug