From 85aeea5e3d43f28795bf27e09d0d8d96de874a15 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 2 Dec 2018 22:33:40 -0500 Subject: project, config/x86_64-linux-musl: refactor, define CONFIG_DEFAULT_SRCS. --- config/x86_64-linux-musl/config.mk | 13 +------------ profiles/pyexts/subsets.mk | 14 ++++++++++++++ 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) \ -- cgit v1.2.3