diff options
author | midipix <writeonce@midipix.org> | 2018-12-01 18:44:30 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-12-02 19:48:53 -0500 |
commit | c3000ac0d42ecb2ae3a6335164daa067879ce468 (patch) | |
tree | 3786d333c40bc5b1eb18053173d2bc3ab0802dd3 | |
parent | 581c5551ea0e14eca48d1007b4a94710a1778873 (diff) | |
download | sbpython2-c3000ac0d42ecb2ae3a6335164daa067879ce468.tar.bz2 sbpython2-c3000ac0d42ecb2ae3a6335164daa067879ce468.tar.xz |
config: x86_64-linux-musl, x86_64-nt64-midipix: defined PYTHON_PLATFORM.
-rw-r--r-- | config/x86_64-linux-musl/config.mk | 1 | ||||
-rw-r--r-- | config/x86_64-nt64-midipix/config.mk | 1 | ||||
-rw-r--r-- | project/extras.mk | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/config/x86_64-linux-musl/config.mk b/config/x86_64-linux-musl/config.mk index 68a2aef..35e6785 100644 --- a/config/x86_64-linux-musl/config.mk +++ b/config/x86_64-linux-musl/config.mk @@ -1,4 +1,5 @@ PYTHON_PATH = +PYTHON_PLATFORM = linux2 CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -Wl,--no-as-needed diff --git a/config/x86_64-nt64-midipix/config.mk b/config/x86_64-nt64-midipix/config.mk index 9bae290..eb7f2bd 100644 --- a/config/x86_64-nt64-midipix/config.mk +++ b/config/x86_64-nt64-midipix/config.mk @@ -1,4 +1,5 @@ PYTHON_PATH = +PYTHON_PLATFORM = midipix CFLAGS_NCURSES = -I$(SYSROOT)/usr/local/include/ncurses -I$(SYSROOT)/usr/include/ncurses LDFLAGS_NCURSES = -Wl,--as-needed -lpanelw -lncursesw -ltinfo -Wl,--no-as-needed diff --git a/project/extras.mk b/project/extras.mk index 15e018c..94dcde9 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -3,6 +3,7 @@ PYTHON_VER = 2.7 CFLAGS_COMMON += -I$(SOURCE_DIR)/Include +CFLAGS_CONFIG += -DPLATFORM=\"$(PYTHON_PLATFORM)\" CFLAGS_CONFIG += -DVERSION=\"$(PYTHON_VER)\" CFLAGS_CONFIG += -DPREFIX=\"$(PREFIX)\" CFLAGS_CONFIG += -DEXEC_PREFIX=\"$(EXEC_PREFIX)\" |