summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-09 01:42:41 -0500
committermidipix <writeonce@midipix.org>2018-12-09 01:56:32 -0500
commitd7bd09092f4a93ae736e11da7de9f86c92aa0906 (patch)
tree136c973ad4c47bfa733276491796e707d33b4145
parent5ddb7ea3d73a0b85f7ac8a61037846a68ad9c663 (diff)
downloadsbpython2-d7bd09092f4a93ae736e11da7de9f86c92aa0906.tar.bz2
sbpython2-d7bd09092f4a93ae736e11da7de9f86c92aa0906.tar.xz
project: removed references to the CFGHOST_SYNONYM var (no longer needed).
-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