summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-02 19:26:56 -0500
committermidipix <writeonce@midipix.org>2018-12-02 19:51:52 -0500
commit64ed7ba5306b88b9bfe14b26a41411a4a14d3173 (patch)
tree70c4410b7fefa725aa744c95fe9e1aec10773d86 /project
parentcfa9c8609770f458f066d004f13612064898db20 (diff)
downloadsbpython2-64ed7ba5306b88b9bfe14b26a41411a4a14d3173.tar.bz2
sbpython2-64ed7ba5306b88b9bfe14b26a41411a4a14d3173.tar.xz
project: osforce.mk: added CFGHOST_SYNONYM support.
Diffstat (limited to 'project')
-rw-r--r--project/osforce.mk10
1 files changed, 8 insertions, 2 deletions
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: