From 64ed7ba5306b88b9bfe14b26a41411a4a14d3173 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 2 Dec 2018 19:26:56 -0500 Subject: project: osforce.mk: added CFGHOST_SYNONYM support. --- project/osforce.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'project') diff --git a/project/osforce.mk b/project/osforce.mk index a2041ed..3fd379d 100644 --- a/project/osforce.mk +++ b/project/osforce.mk @@ -2,10 +2,16 @@ ifneq ($(CFGHOST),@cfghost@) include $(PROJECT_DIR)/config/$(CFGHOST)/config.mk endif +CFGHOST_SYNONYM ?= $(CFGHOST) + +ifneq ($(CFGHOST),$(CFGHOST_SYNONYM)) +include $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/config.mk +endif + config.tag: mkdir -p build - cp -a $(PROJECT_DIR)/config/$(CFGHOST)/config.c build/ - cp -a $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h build/ + cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/config.c build/ + cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/pyconfig.h build/ touch config.tag clean-config: -- cgit v1.2.3