From feb6bdda2186ec0b0d1134b2da13732f35705557 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 23 Dec 2018 17:26:56 -0500 Subject: project: support variant-specific header-, source-, and extension lists. --- config/linux/config.mk | 4 +++- config/midipix/config.mk | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'config') 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) \ -- cgit v1.2.3