aboutsummaryrefslogtreecommitdiffstats
path: root/config/Config-images.in
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-02-25 14:13:50 +0000
committerDaniel Golle <daniel@makrotopia.org>2021-02-25 16:39:55 +0000
commitdc68af4a1312775f3aeade7c46786858725cfabe (patch)
tree52e97ed358377d6867ee704f84d386d75d58b9f9 /config/Config-images.in
parent722f1bd5490abafc5d77420905179aa03c508a1f (diff)
downloadupstream-dc68af4a1312775f3aeade7c46786858725cfabe.tar.gz
upstream-dc68af4a1312775f3aeade7c46786858725cfabe.tar.bz2
upstream-dc68af4a1312775f3aeade7c46786858725cfabe.zip
image: improve Kconfig for seperate ramdisk option
* show only if target supports it (ie. seperate_ramdisk feature set) * select XZ compression by default of ramdisk is seperate Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'config/Config-images.in')
-rw-r--r--config/Config-images.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/Config-images.in b/config/Config-images.in
index 080fee2cce..b1f5b43719 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -17,6 +17,7 @@ menu "Target Images"
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_lantiq
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx
default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips
+ default TARGET_INITRAMFS_COMPRESSION_XZ if USES_SEPERATE_INITRAMFS
default TARGET_INITRAMFS_COMPRESSION_NONE
depends on TARGET_ROOTFS_INITRAMFS
help
@@ -66,7 +67,7 @@ menu "Target Images"
config TARGET_ROOTFS_INITRAMFS_SEPERATE
bool "seperate ramdisk"
- depends on TARGET_ROOTFS_INITRAMFS && !TARGET_INITRAMFS_FORCE
+ depends on USES_SEPERATE_INITRAMFS && TARGET_ROOTFS_INITRAMFS && !TARGET_INITRAMFS_FORCE
default y if USES_SEPERATE_INITRAMFS
help
Generate seperate initrd.cpio instead of embedding it.