initramfs: only show the option when a Linux kernel is being built

Closes #2119

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni
2010-06-26 00:02:27 +02:00
committed by Peter Korsgaard
parent c59d700786
commit 93e8014709
2 changed files with 4 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
config BR2_TARGET_ROOTFS_INITRAMFS
bool "initramfs for initial ramdisk of linux kernel"
depends on BR2_LINUX_KERNEL
help
Build a file which is usable for the gen_init_cpio tool
at linux kernel build.
@@ -13,3 +14,5 @@ config BR2_TARGET_ROOTFS_INITRAMFS
Device Drivers -> Block devices -> Initramfs source file(s).
The configuration variable is CONFIG_INITRAMFS_SOURCE
comment "initramfs requires a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL