Browse Source

python: add PKG_USE_MIPS16:=0 + handle CONFIG_USE_MIPS16

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 10 years ago
parent
commit
9e78aff770
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      lang/python/files/python-package.mk

+ 7
- 0
lang/python/files/python-package.mk View File

@ -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)


Loading…
Cancel
Save