aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/target.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk
index 5490d4882f..61489cabe7 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -258,7 +258,9 @@ ifeq ($(DUMP),1)
FEATURES += virtio
endif
ifneq ($(CONFIG_CPU_MIPS32_R2),)
- FEATURES += mips16
+ ifneq ($(CPU_SUBTYPE),nomips16)
+ FEATURES += mips16
+ endif
endif
FEATURES += $(foreach v,6 7,$(if $(CONFIG_CPU_V$(v)),arm_v$(v)))