apm821xx: clean up target/subtarget features
authorRui Salvaterra <rsalvaterra@gmail.com>
Wed, 25 Nov 2020 09:38:51 +0000 (09:38 +0000)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 25 Nov 2020 12:23:06 +0000 (13:23 +0100)
Move features common to all subtargets to the parent target.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[split patch to make it target-specific, adjust commit title/message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/apm821xx/Makefile
target/linux/apm821xx/nand/target.mk
target/linux/apm821xx/sata/target.mk

index c7e27d3214c44ae3ee9ed2a60b5e13918c294a22..bae20d0d04fb00c3549e8e7bf1d74221c88a0075 100644 (file)
@@ -8,7 +8,7 @@ ARCH:=powerpc
 BOARD:=apm821xx
 BOARDNAME:=AppliedMicro APM821xx
 CPU_TYPE:=464fp
-FEATURES:=fpu dt gpio
+FEATURES:=fpu dt gpio ramdisk squashfs usb
 SUBTARGETS:=nand sata
 
 KERNEL_PATCHVER:=5.4
index d40b0fbc19b5c9654c80d798d88e28519f8ff63a..208ea10b91eb88c4c019e5579ab4e3acf327c979 100644 (file)
@@ -1,5 +1,5 @@
 BOARDNAME:=Devices with NAND flash (Routers)
-FEATURES += nand pcie ramdisk squashfs usb
+FEATURES += nand pcie
 
 DEFAULT_PACKAGES += kmod-ath9k swconfig wpad-basic-wolfssl
 
index 43b1aa03247165a42c37dabb01cf221fe9a05f20..b27b7ff583bb80560039d3d6e1a8c10be409e7eb 100644 (file)
@@ -1,6 +1,6 @@
 BOARDNAME := Devices which boot from SATA (NAS)
 DEVICE_TYPE := nas
-FEATURES += ext4 usb ramdisk squashfs rootfs-part boot-part
+FEATURES += boot-part ext4 rootfs-part
 DEFAULT_PACKAGES += badblocks block-mount e2fsprogs kmod-hwmon-drivetemp \
                    kmod-dm kmod-md-mod partx-utils mkf2fs f2fsck