[openwrt/openwrt] sunxi: make use of 'rootfs-part' feature

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 23 12:22:22 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d05ac928f68f108f22ec36e5a24e7217f938becc

commit d05ac928f68f108f22ec36e5a24e7217f938becc
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Jan 22 00:25:52 2022 +0000

    sunxi: make use of 'rootfs-part' feature
    
    Use 'rootfs-part' feature instead of referencing the TARGET_sunxi in
    Config-images.in.
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 config/Config-images.in     | 2 +-
 target/linux/sunxi/Makefile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index 9f41c7feda..7f118030f2 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -296,7 +296,7 @@ menu "Target Images"
 
 	config TARGET_ROOTFS_PARTSIZE
 		int "Root filesystem partition size (in MiB)"
-		depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_sunxi || TARGET_uml
+		depends on USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_uml
 		default 104
 		help
 		  Select the root filesystem partition size.
diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile
index 1c94c6eaaf..682603341d 100644
--- a/target/linux/sunxi/Makefile
+++ b/target/linux/sunxi/Makefile
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 ARCH:=arm
 BOARD:=sunxi
 BOARDNAME:=Allwinner A1x/A20/A3x/H3/H5/R40
-FEATURES:=fpu usb ext4 display rtc squashfs
+FEATURES:=fpu usb ext4 display rootfs-part rtc squashfs
 SUBTARGETS:=cortexa8 cortexa7 cortexa53
 
 KERNEL_PATCHVER:=5.10



More information about the lede-commits mailing list