build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2
[openwrt/openwrt.git] / config / Config-images.in
index a60dd5078a0d8d7841e4eb54504aac7662bdf151..f81931e47fa680065077bc94c8651c3a98f31a4f 100644 (file)
@@ -126,7 +126,7 @@ menu "Target Images"
 
        config TARGET_ROOTFS_JFFS2
                bool "jffs2"
-               default y if USES_JFFS2
+               depends on USES_JFFS2
                help
                  Build a JFFS2 root filesystem.
 
@@ -186,7 +186,7 @@ menu "Target Images"
 
        config GRUB_IMAGES
                bool "Build GRUB images (Linux x86 or x86_64 host only)"
-               depends on TARGET_x86_64 || (TARGET_x86 && !TARGET_x86_rdc)
+               depends on TARGET_x86
                depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS
                select PACKAGE_grub2
                default y