From: Andre Heider <a.heider@gmail.com>
Date: Mon, 24 Sep 2018 13:53:25 +0000 (+0200)
Subject: sunxi: fix build without ext4 rootfs
X-Git-Tag: v19.07.0-rc1~2468
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7b76219e;p=oweals%2Fopenwrt.git

sunxi: fix build without ext4 rootfs

The sdcard image generation uses CONFIG_TARGET_ROOTFS_PARTSIZE, which is
currently bound to TARGET_ROOTFS_EXT4FS on this target.

Since the rootfs is squashfs anyway, allow deselecting of the ext4fs
one.

Sort the target list alphabetically while here.

Signed-off-by: Andre Heider <a.heider@gmail.com>
---

diff --git a/config/Config-images.in b/config/Config-images.in
index 6242e36d34..6fa9a67cb6 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -273,7 +273,7 @@ menu "Target Images"
 
 	config TARGET_ROOTFS_PARTSIZE
 		int "Root filesystem partition size (in MB)"
-		depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || TARGET_uml
+		depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_mvebu || TARGET_rb532 || TARGET_sunxi || TARGET_uml
 		default 256
 		help
 		  Select the root filesystem partition size.