build: remove mips16 feature flag from target makefiles

It can be implicitly derived from the MIPS32 revision support in the
kernel configuration

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2017-01-24 12:40:00 +01:00
parent cbbd71b6e5
commit bfdc56d3a2
10 changed files with 11 additions and 9 deletions

View File

@ -258,6 +258,9 @@ ifeq ($(DUMP),1)
ifneq ($(CONFIG_VIRTIO),) ifneq ($(CONFIG_VIRTIO),)
FEATURES += virtio FEATURES += virtio
endif endif
ifneq ($(CONFIG_CPU_MIPS32_R2),)
FEATURES += mips16
endif
FEATURES += $(foreach v,6 7,$(if $(CONFIG_CPU_V$(v)),arm_v$(v))) FEATURES += $(foreach v,6 7,$(if $(CONFIG_CPU_V$(v)),arm_v$(v)))
# remove duplicates # remove duplicates

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
ARCH:=mips ARCH:=mips
BOARD:=ar71xx BOARD:=ar71xx
BOARDNAME:=Atheros AR7xxx/AR9xxx BOARDNAME:=Atheros AR7xxx/AR9xxx
FEATURES:=mips16 usbgadget FEATURES:=usbgadget
CPU_TYPE:=24kc CPU_TYPE:=24kc
SUBTARGETS:=generic nand mikrotik SUBTARGETS:=generic nand mikrotik

View File

@ -1,6 +1,5 @@
BOARDNAME:=MIPS 74K BOARDNAME:=MIPS 74K
CPU_TYPE:=74kc CPU_TYPE:=74kc
FEATURES+=mips16
define Target/Description define Target/Description
Build firmware for Broadcom BCM47xx and BCM53xx devices with Build firmware for Broadcom BCM47xx and BCM53xx devices with

View File

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=falcon SUBTARGET:=falcon
BOARDNAME:=Falcon BOARDNAME:=Falcon
FEATURES:=squashfs mips16 nand FEATURES:=squashfs nand
CPU_TYPE:=24kc CPU_TYPE:=24kc
DEFAULT_PACKAGES+= kmod-leds-gpio \ DEFAULT_PACKAGES+= kmod-leds-gpio \

View File

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=xrx200 SUBTARGET:=xrx200
BOARDNAME:=XRX200 BOARDNAME:=XRX200
FEATURES:=squashfs atm mips16 nand ubifs FEATURES:=squashfs atm nand ubifs
CPU_TYPE:=24kc CPU_TYPE:=24kc
DEFAULT_PACKAGES+=kmod-leds-gpio \ DEFAULT_PACKAGES+=kmod-leds-gpio \

View File

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=xway SUBTARGET:=xway
BOARDNAME:=XWAY BOARDNAME:=XWAY
FEATURES:=squashfs atm mips16 nand ubifs ramdisk FEATURES:=squashfs atm nand ubifs ramdisk
CPU_TYPE:=24kc CPU_TYPE:=24kc
DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug swconfig DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug swconfig

View File

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=xway_legacy SUBTARGET:=xway_legacy
BOARDNAME:=XWAY Legacy BOARDNAME:=XWAY Legacy
FEATURES:=squashfs atm mips16 ramdisk small_flash FEATURES:=squashfs atm ramdisk small_flash
CPU_TYPE:=24kc CPU_TYPE:=24kc
DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug swconfig DEFAULT_PACKAGES+=kmod-leds-gpio kmod-gpio-button-hotplug swconfig

View File

@ -1,7 +1,7 @@
ARCH:=mips ARCH:=mips
SUBTARGET:=be SUBTARGET:=be
BOARDNAME:=Big Endian BOARDNAME:=Big Endian
FEATURES:=ramdisk mips16 FEATURES:=ramdisk
define Target/Description define Target/Description
Build BE firmware images for MIPS Malta CoreLV board running in Build BE firmware images for MIPS Malta CoreLV board running in

View File

@ -1,7 +1,7 @@
ARCH:=mipsel ARCH:=mipsel
SUBTARGET:=le SUBTARGET:=le
BOARDNAME:=Little Endian BOARDNAME:=Little Endian
FEATURES:=ramdisk mips16 FEATURES:=ramdisk
define Target/Description define Target/Description
Build LE firmware images for MIPS Malta CoreLV board running in Build LE firmware images for MIPS Malta CoreLV board running in

View File

@ -10,7 +10,7 @@ ARCH:=mipsel
BOARD:=ramips BOARD:=ramips
BOARDNAME:=MediaTek Ralink MIPS BOARDNAME:=MediaTek Ralink MIPS
SUBTARGETS:=rt305x mt7620 mt7621 mt7628 mt7688 rt3883 rt288x SUBTARGETS:=rt305x mt7620 mt7621 mt7628 mt7688 rt3883 rt288x
FEATURES:=squashfs gpio mips16 FEATURES:=squashfs gpio
MAINTAINER:=John Crispin <john@phrozen.org> MAINTAINER:=John Crispin <john@phrozen.org>
KERNEL_PATCHVER:=4.4 KERNEL_PATCHVER:=4.4