summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/common.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-14 13:02:29 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-08-14 13:02:29 +0000
commita1a5f59ea358fc35805f003466c98f08f5299e9d (patch)
tree57465ec975a600a13a602da95c0aa72cb440662b /toolchain/uClibc/common.mk
parent8b8875b305e3e36153f83d08c68596fe0303efa4 (diff)
downloadmtk-20170518-a1a5f59ea358fc35805f003466c98f08f5299e9d.zip
mtk-20170518-a1a5f59ea358fc35805f003466c98f08f5299e9d.tar.gz
mtk-20170518-a1a5f59ea358fc35805f003466c98f08f5299e9d.tar.bz2
build: decouple the mips16 support flag from the toolchain
Add the flags from package.mk instead, and leave libc and gcc unaffected. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37770
Diffstat (limited to 'toolchain/uClibc/common.mk')
-rw-r--r--toolchain/uClibc/common.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/toolchain/uClibc/common.mk b/toolchain/uClibc/common.mk
index f0a5b3d..69ac470 100644
--- a/toolchain/uClibc/common.mk
+++ b/toolchain/uClibc/common.mk
@@ -45,8 +45,6 @@ GEN_CONFIG=$(SCRIPT_DIR)/kconfig.pl -n \
$(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 \
--std=gnu99 -ffunction-sections -fdata-sections \