eglibc: add support for other mips64 ABI variants as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40890
This commit is contained in:
parent
11462369af
commit
0e9e8a141e
1 changed files with 9 additions and 1 deletions
|
@ -35,7 +35,15 @@ HOST_STAMP_BUILT:=$(CUR_BUILD_DIR)/.built
|
||||||
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_$(VARIANT)_installed
|
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.eglibc_$(VARIANT)_installed
|
||||||
|
|
||||||
ifeq ($(ARCH),mips64)
|
ifeq ($(ARCH),mips64)
|
||||||
TARGET_CFLAGS += -mabi=64
|
ifdef CONFIG_MIPS64_ABI_N64
|
||||||
|
TARGET_CFLAGS += -mabi=64
|
||||||
|
endif
|
||||||
|
ifdef CONFIG_MIPS64_ABI_N32
|
||||||
|
TARGET_CFLAGS += -mabi=n32
|
||||||
|
endif
|
||||||
|
ifdef CONFIG_MIPS64_ABI_O32
|
||||||
|
TARGET_CFLAGS += -mabi=32
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
EGLIBC_CONFIGURE:= \
|
EGLIBC_CONFIGURE:= \
|
||||||
|
|
Loading…
Reference in a new issue