summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-23 17:26:56 -0500
committermidipix <writeonce@midipix.org>2018-12-23 20:31:21 -0500
commitfeb6bdda2186ec0b0d1134b2da13732f35705557 (patch)
treefb45b57c6414308c132663cadeab3afa3f452a79 /config
parent23670adefe79a809600afe9d6ba4e1266df59181 (diff)
downloadsbpython3-feb6bdda2186ec0b0d1134b2da13732f35705557.tar.bz2
sbpython3-feb6bdda2186ec0b0d1134b2da13732f35705557.tar.xz
project: support variant-specific header-, source-, and extension lists.
Diffstat (limited to 'config')
-rw-r--r--config/linux/config.mk4
-rw-r--r--config/midipix/config.mk4
2 files changed, 6 insertions, 2 deletions
diff --git a/config/linux/config.mk b/config/linux/config.mk
index 41d2d06..b8a5f1f 100644
--- a/config/linux/config.mk
+++ b/config/linux/config.mk
@@ -13,7 +13,9 @@ DYNLOAD_SRCS = \
# extensions: desired subsets
-include $(PROJECT_DIR)/profiles/pyexts/subsets.mk
+ifneq ($(PYTHON_MAJOR),)
+include $(PROJECT_DIR)/project/variants/$(PYTHON_MAJOR).$(PYTHON_MINOR).$(PYTHON_MICRO)/subsets.mk
+endif
PYEXT_SHARED = \
$(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
diff --git a/config/midipix/config.mk b/config/midipix/config.mk
index e9c672d..45ec0e5 100644
--- a/config/midipix/config.mk
+++ b/config/midipix/config.mk
@@ -13,7 +13,9 @@ DYNLOAD_SRCS = \
# extensions: desired subsets
-include $(PROJECT_DIR)/profiles/pyexts/subsets.mk
+ifneq ($(PYTHON_MAJOR),)
+include $(PROJECT_DIR)/project/variants/$(PYTHON_MAJOR).$(PYTHON_MINOR).$(PYTHON_MICRO)/subsets.mk
+endif
PYEXT_SHARED = \
$(PYEXT_SUBSET_SHARED_ANYOS_CORE) \