summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-09 00:37:31 -0500
committermidipix <writeonce@midipix.org>2018-12-09 01:47:17 -0500
commit2d05b886690a0df4f148089099ad8816b64020b8 (patch)
treedc3ecf0dcba87c7b9f8573e0a816364003b491a8
parent35b501b87bf75ac4c526b8fc800c396cb50ee308 (diff)
downloadsbpython2-2d05b886690a0df4f148089099ad8816b64020b8.tar.bz2
sbpython2-2d05b886690a0df4f148089099ad8816b64020b8.tar.xz
config: introduced x86_64-linux in anticipation of a custom cfgdefs.sh.
-rw-r--r--config/x86_64-alpine-linux-musl/config.mk2
-rw-r--r--config/x86_64-foxkit-linux-musl/config.mk2
-rw-r--r--config/x86_64-linux-musl/config.mk55
-rw-r--r--config/x86_64-linux/config.c (renamed from config/x86_64-linux-musl/config.c)0
-rw-r--r--config/x86_64-linux/config.mk54
-rw-r--r--config/x86_64-linux/pyconfig.h (renamed from config/x86_64-linux-musl/pyconfig.h)0
6 files changed, 57 insertions, 56 deletions
diff --git a/config/x86_64-alpine-linux-musl/config.mk b/config/x86_64-alpine-linux-musl/config.mk
index 3b9e8d3..92ad710 100644
--- a/config/x86_64-alpine-linux-musl/config.mk
+++ b/config/x86_64-alpine-linux-musl/config.mk
@@ -1 +1 @@
-CFGHOST_SYNONYM = x86_64-linux-musl
+CFGHOST_SYNONYM = x86_64-linux
diff --git a/config/x86_64-foxkit-linux-musl/config.mk b/config/x86_64-foxkit-linux-musl/config.mk
index 3b9e8d3..92ad710 100644
--- a/config/x86_64-foxkit-linux-musl/config.mk
+++ b/config/x86_64-foxkit-linux-musl/config.mk
@@ -1 +1 @@
-CFGHOST_SYNONYM = x86_64-linux-musl
+CFGHOST_SYNONYM = x86_64-linux
diff --git a/config/x86_64-linux-musl/config.mk b/config/x86_64-linux-musl/config.mk
index b6f0aaf..92ad710 100644
--- a/config/x86_64-linux-musl/config.mk
+++ b/config/x86_64-linux-musl/config.mk
@@ -1,54 +1 @@
-# platform
-PYTHON_PATH =
-PYTHON_PLATFORM = linux2
-
-
-# extensions: built-in
-CONFIG_SRCS = $(CONFIG_DEFAULT_SRCS)
-
-
-# extensions: dynamic loading
-DYNLOAD_SRCS = \
- Python/dynload_shlib.c \
-
-
-# extensions: desired subsets
-include $(PROJECT_DIR)/profiles/pyexts/subsets.mk
-
-PYEXT_SHARED = \
- $(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
- $(PYEXT_SUBSET_SHARED_ANYOS_AUDIO) \
- $(PYEXT_SUBSET_SHARED_LINUX_AUDIO) \
-
-PYEXT_STATIC = \
- $(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
- $(PYEXT_SUBSET_STATIC_ANYOS_AUDIO) \
- $(PYEXT_SUBSET_STATIC_LINUX_AUDIO) \
-
-
-# shared extensions: dependency switches
-CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
-LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -Wl,--no-as-needed
-
-CFLAGS_SQLITE = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
-CFLAGS_SQLITE += -DMODULE_NAME=\"sqlite3\"
-CFLAGS_SQLITE += -DSQLITE_OMIT_LOAD_EXTENSION
-LDFLAGS_SQLITE = -lsqlite3
-
-CFLAGS_EXPAT = -DXML_DEV_URANDOM
-LDFLAGS_EXPAT = -lexpat
-
-CFLAGS_DBM = -DHAVE_NDBM_H
-LDFLAGS_DBM = -lgdbm_compat
-
-
-# static extensions: dependency switch
-LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
-LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES)
-LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE)
-LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT)
-LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM)
-
-
-# strict shared object generation
-LDFLAGS_STRICT += -Wl,-no-undefined
+CFGHOST_SYNONYM = x86_64-linux
diff --git a/config/x86_64-linux-musl/config.c b/config/x86_64-linux/config.c
index d4d2384..d4d2384 100644
--- a/config/x86_64-linux-musl/config.c
+++ b/config/x86_64-linux/config.c
diff --git a/config/x86_64-linux/config.mk b/config/x86_64-linux/config.mk
new file mode 100644
index 0000000..b6f0aaf
--- /dev/null
+++ b/config/x86_64-linux/config.mk
@@ -0,0 +1,54 @@
+# platform
+PYTHON_PATH =
+PYTHON_PLATFORM = linux2
+
+
+# extensions: built-in
+CONFIG_SRCS = $(CONFIG_DEFAULT_SRCS)
+
+
+# extensions: dynamic loading
+DYNLOAD_SRCS = \
+ Python/dynload_shlib.c \
+
+
+# extensions: desired subsets
+include $(PROJECT_DIR)/profiles/pyexts/subsets.mk
+
+PYEXT_SHARED = \
+ $(PYEXT_SUBSET_SHARED_ANYOS_CORE) \
+ $(PYEXT_SUBSET_SHARED_ANYOS_AUDIO) \
+ $(PYEXT_SUBSET_SHARED_LINUX_AUDIO) \
+
+PYEXT_STATIC = \
+ $(PYEXT_SUBSET_STATIC_ANYOS_CORE) \
+ $(PYEXT_SUBSET_STATIC_ANYOS_AUDIO) \
+ $(PYEXT_SUBSET_STATIC_LINUX_AUDIO) \
+
+
+# shared extensions: dependency switches
+CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses
+LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -Wl,--no-as-needed
+
+CFLAGS_SQLITE = -I$(SYSROOT)/usr/local/include/sqlite3 -I$(SYSROOT)/usr/include/sqlite3
+CFLAGS_SQLITE += -DMODULE_NAME=\"sqlite3\"
+CFLAGS_SQLITE += -DSQLITE_OMIT_LOAD_EXTENSION
+LDFLAGS_SQLITE = -lsqlite3
+
+CFLAGS_EXPAT = -DXML_DEV_URANDOM
+LDFLAGS_EXPAT = -lexpat
+
+CFLAGS_DBM = -DHAVE_NDBM_H
+LDFLAGS_DBM = -lgdbm_compat
+
+
+# static extensions: dependency switch
+LDFLAGS_PYEXT_STATIC = -lssl -lcrypto -lreadline -lbz2 -lgdbm -lffi -lintl -lz
+LDFLAGS_NCURSES_STATIC = $(LDFLAGS_NCURSES)
+LDFLAGS_SQLITE_STATIC = $(LDFLAGS_SQLITE)
+LDFLAGS_EXPAT_STATIC = $(LDFLAGS_EXPAT)
+LDFLAGS_DBM_STATIC = $(LDFLAGS_DBM)
+
+
+# strict shared object generation
+LDFLAGS_STRICT += -Wl,-no-undefined
diff --git a/config/x86_64-linux-musl/pyconfig.h b/config/x86_64-linux/pyconfig.h
index 04acdb7..04acdb7 100644
--- a/config/x86_64-linux-musl/pyconfig.h
+++ b/config/x86_64-linux/pyconfig.h