mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 10:38:21 +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
|
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
|
define PyPackage
|
||||||
$(call shexport,PyPackage/$(1)/filespec)
|
$(call shexport,PyPackage/$(1)/filespec)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user