summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
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: