mirror of
https://github.com/openwrt/packages.git
synced 2025-12-22 10:24:31 +04:00
python: add PKG_USE_MIPS16:=0 + handle CONFIG_USE_MIPS16
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -30,6 +30,13 @@ define HostPython
|
||||
)
|
||||
endef
|
||||
|
||||
PKG_USE_MIPS16:=0
|
||||
# This is required in addition to PKG_USE_MIPS16:=0 because otherwise MIPS16
|
||||
# flags are inherited from the Python base package (via sysconfig module)
|
||||
ifdef CONFIG_USE_MIPS16
|
||||
TARGET_CFLAGS += -mno-mips16 -mno-interlink-mips16
|
||||
endif
|
||||
|
||||
define PyPackage
|
||||
$(call shexport,PyPackage/$(1)/filespec)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user