From 74415e8d386b5080aaf7270a2d5356ed4f533859 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 3 Mar 2017 16:39:11 -0500 Subject: Allow project and board selection via Makefile variables. --- build/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/Makefile b/build/Makefile index 9f46771..763ad5e 100644 --- a/build/Makefile +++ b/build/Makefile @@ -23,7 +23,10 @@ all: $(project).bit # Build the default core_selector if it doesn't already exist. CONFIG = $(CORE_TREE)/platform/common/config -CONFIG_GEN = $(CONFIG)/core_config.py -c $(CONFIG)/core.cfg -b alpha +CONFIG_BOARD = alpha +CONFIG_PROJECT = hsm +CONFIG_GEN = $(CONFIG)/core_config.py -c $(CONFIG)/core.cfg -b $(CONFIG_BOARD) -p $(CONFIG_PROJECT) + core_selector.v core_vfiles.mk: $(CONFIG_GEN) -- cgit v1.2.3