Skip to content
Snippets Groups Projects
Commit 7c7ea090 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Hauke Mehrtens
Browse files

include: Add nomips16 CPU_SUBTYPE


This can be used to indicate that a target does not support the optional mips16
extension even when it is a mips32r2 or later CPU.

This will generate a separate toolchain and a separate package folder,
e.g. mips_24kc_nomips16

Signed-off-by: default avatarHauke Mehrtens <hauke.mehrtens@intel.com>
parent d5a770f2
No related branches found
No related tags found
No related merge requests found
......@@ -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)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment