summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project/osforce.mk10
-rw-r--r--project/pycompile.mk4
2 files changed, 4 insertions, 10 deletions
diff --git a/project/osforce.mk b/project/osforce.mk
index 3fd379d..a2041ed 100644
--- a/project/osforce.mk
+++ b/project/osforce.mk
@@ -2,16 +2,10 @@ 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_SYNONYM)/config.c build/
- cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/pyconfig.h build/
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/config.c build/
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h build/
touch config.tag
clean-config:
diff --git a/project/pycompile.mk b/project/pycompile.mk
index 79aea38..b6b3ff2 100644
--- a/project/pycompile.mk
+++ b/project/pycompile.mk
@@ -48,8 +48,8 @@ else
$(PYCOMPILE_DIR)/config.tag:
mkdir -p $(PYCOMPILE_DIR)/build
- cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/config.c $(PYCOMPILE_DIR)/build/
- cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/pyconfig.h $(PYCOMPILE_DIR)/build/
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/config.c $(PYCOMPILE_DIR)/build/
+ cp -a $(PROJECT_DIR)/config/$(CFGHOST)/pyconfig.h $(PYCOMPILE_DIR)/build/
touch $(PYCOMPILE_DIR)/config.tag
endif