python: add PKG_USE_MIPS16:=0 + handle CONFIG_USE_MIPS16
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
242286b80d
commit
9e78aff770
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue