projects
/
openwrt-github
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
packages: clean up the package folder
[openwrt-github/.git]
/
toolchain
/
uClibc
/
common.mk
diff --git
a/toolchain/uClibc/common.mk
b/toolchain/uClibc/common.mk
index f32ed9872924502f46b9683e585a6171fd548d56..dec4a1c741f825d949745f24a535776d9f095e1c 100644
(file)
--- a/
toolchain/uClibc/common.mk
+++ b/
toolchain/uClibc/common.mk
@@
-42,7
+42,10
@@
GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
$(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \
$(CONFIG_DIR)/$(ARCH)$(strip \
$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \
$(if $(CONFIG_UCLIBC_ENABLE_DEBUG),$(if $(wildcard $(CONFIG_DIR)/debug),'+' $(CONFIG_DIR)/debug)) \
$(CONFIG_DIR)/$(ARCH)$(strip \
$(if $(wildcard $(CONFIG_DIR)/$(ARCH).$(BOARD)),.$(BOARD), \
- $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500))))
+ $(if $(CONFIG_MIPS64_ABI),.$(subst ",,$(CONFIG_MIPS64_ABI)), \
+ $(if $(CONFIG_HAS_SPE_FPU),$(if $(wildcard $(CONFIG_DIR)/$(ARCH).e500),.e500)))))
+
+TARGET_CFLAGS := $(filter-out -mips16,$(TARGET_CFLAGS))
CPU_CFLAGS = \
-funsigned-char -fno-builtin -fno-asm \
CPU_CFLAGS = \
-funsigned-char -fno-builtin -fno-asm \