summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-02 22:33:40 -0500
committermidipix <writeonce@midipix.org>2018-12-04 07:06:15 -0500
commit85aeea5e3d43f28795bf27e09d0d8d96de874a15 (patch)
treeb7d1a33f44e74165855b07ae8266b9adc5aa0799
parent3437fd4a6617e4792c49dcc44eee5e89faf91f52 (diff)
downloadsbpython2-85aeea5e3d43f28795bf27e09d0d8d96de874a15.tar.bz2
sbpython2-85aeea5e3d43f28795bf27e09d0d8d96de874a15.tar.xz
project, config/x86_64-linux-musl: refactor, define CONFIG_DEFAULT_SRCS.
-rw-r--r--config/x86_64-linux-musl/config.mk13
-rw-r--r--profiles/pyexts/subsets.mk14
2 files changed, 15 insertions, 12 deletions
diff --git a/config/x86_64-linux-musl/config.mk b/config/x86_64-linux-musl/config.mk
index 1226e7e..b6f0aaf 100644
--- a/config/x86_64-linux-musl/config.mk
+++ b/config/x86_64-linux-musl/config.mk
@@ -4,18 +4,7 @@ PYTHON_PLATFORM = linux2
# extensions: built-in
-CONFIG_SRCS = \
- Modules/_codecsmodule.c \
- Modules/_sre.c \
- Modules/_weakref.c \
- Modules/errnomodule.c \
- Modules/posixmodule.c \
- Modules/pwdmodule.c \
- Modules/signalmodule.c \
- Modules/symtablemodule.c \
- Modules/threadmodule.c \
- Modules/xxsubtype.c \
- Modules/zipimport.c \
+CONFIG_SRCS = $(CONFIG_DEFAULT_SRCS)
# extensions: dynamic loading
diff --git a/profiles/pyexts/subsets.mk b/profiles/pyexts/subsets.mk
index 6b36125..3d256b3 100644
--- a/profiles/pyexts/subsets.mk
+++ b/profiles/pyexts/subsets.mk
@@ -1,3 +1,17 @@
+# extension subsets: built-in defaults
+CONFIG_DEFAULT_SRCS = \
+ Modules/_codecsmodule.c \
+ Modules/_sre.c \
+ Modules/_weakref.c \
+ Modules/errnomodule.c \
+ Modules/posixmodule.c \
+ Modules/pwdmodule.c \
+ Modules/signalmodule.c \
+ Modules/symtablemodule.c \
+ Modules/threadmodule.c \
+ Modules/xxsubtype.c \
+ Modules/zipimport.c \
+
# extension subsets: shared
PYEXT_SUBSET_SHARED_ANYOS_CORE = \
$(PYEXT_ARRAY_SHARED) \