From 93e801470981010d8760db372f511e04481182d0 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sat, 26 Jun 2010 00:02:27 +0200 Subject: initramfs: only show the option when a Linux kernel is being built Closes #2119 Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- CHANGES | 1 + fs/initramfs/Config.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGES b/CHANGES index 27582cb2f..ea399df6c 100644 --- a/CHANGES +++ b/CHANGES @@ -49,6 +49,7 @@ #2035: ipsec-tools-0.7.2 fails to build with gcc-4.4.x #2038: Bump ncurses to 5.7 #2095: make gconfig: undefined reference to symbol 'dlsym@@GLIBC_2.2.5' + #2119: Tries to build kernel, although disabled in config 2010.05, Released May 30th, 2010: diff --git a/fs/initramfs/Config.in b/fs/initramfs/Config.in index d53982cb9..c76b2de12 100644 --- a/fs/initramfs/Config.in +++ b/fs/initramfs/Config.in @@ -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 -- cgit v1.2.3-55-g7522