]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
fs/iso9660: use if ... endif block instead of depends on
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 8 Jun 2015 22:21:34 +0000 (00:21 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Jun 2015 21:18:12 +0000 (23:18 +0200)
In preparation to the addition of numerous additional options to the
iso9660 filesystem logic, use a if ... endif block instead of a
depends on for the only option that currently exists.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
fs/iso9660/Config.in

index 50b437765a90462171c19cc401c333bffab5826f..9d00ab82987b939f0c3e70e79b0322081afa8f01 100644 (file)
@@ -8,11 +8,14 @@ config BR2_TARGET_ROOTFS_ISO9660
        help
          Build a bootable iso9660 image
 
+if BR2_TARGET_ROOTFS_ISO9660
+
 config BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU
        string "Boot menu.lst file"
-       depends on BR2_TARGET_ROOTFS_ISO9660
        default "fs/iso9660/menu.lst"
 
+endif
+
 comment "iso image needs a Linux kernel to be built"
        depends on BR2_i386 || BR2_x86_64
        depends on !BR2_LINUX_KERNEL