from the ATAG list and store it at run time into the appended DTB.
 
 choice
-       prompt "Kernel command line type" if ARM_ATAG_DTB_COMPAT
+       prompt "Kernel command line type"
+       depends on ARM_ATAG_DTB_COMPAT
        default ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
 
 config ARM_ATAG_DTB_COMPAT_CMDLINE_FROM_BOOTLOADER
          memory size and the root device (e.g., mem=64M root=/dev/nfs).
 
 choice
-       prompt "Kernel command line type" if CMDLINE != ""
+       prompt "Kernel command line type"
+       depends on CMDLINE != ""
        default CMDLINE_FROM_BOOTLOADER
 
 config CMDLINE_FROM_BOOTLOADER
 
          root device (e.g. root=/dev/nfs).
 
 choice
-       prompt "Kernel command line type" if CMDLINE != ""
+       prompt "Kernel command line type"
+       depends on CMDLINE != ""
        default CMDLINE_FROM_BOOTLOADER
        help
          Choose how the kernel will handle the provided default kernel
 
        bool
 
 choice
-       prompt "Kernel appended dtb support" if USE_OF
+       prompt "Kernel appended dtb support"
+       depends on USE_OF
        default MIPS_NO_APPENDED_DTB
 
        config MIPS_NO_APPENDED_DTB
 endchoice
 
 choice
-       prompt "Kernel command line type" if !CMDLINE_OVERRIDE
+       prompt "Kernel command line type"
+       depends on !CMDLINE_OVERRIDE
        default MIPS_CMDLINE_FROM_DTB if USE_OF && !ATH79 && !MACH_INGENIC && \
                                         !MACH_LOONGSON64 && !MIPS_MALTA && \
                                         !CAVIUM_OCTEON_SOC
 
          most cases you will need to specify the root device here.
 
 choice
-       prompt "Kernel command line type" if CMDLINE != ""
+       prompt "Kernel command line type"
+       depends on CMDLINE != ""
        default CMDLINE_FROM_BOOTLOADER
 
 config CMDLINE_FROM_BOOTLOADER
 
          line here and choose how the kernel should use it later on.
 
 choice
-       prompt "Built-in command line usage" if CMDLINE != ""
+       prompt "Built-in command line usage"
+       depends on CMDLINE != ""
        default CMDLINE_FALLBACK
        help
          Choose how the kernel will handle the provided built-in command
 
          RUBINMIPS and DYNRUBIN compressors. Say 'N' if unsure.
 
 choice
-       prompt "JFFS2 default compression mode" if JFFS2_COMPRESSION_OPTIONS
+       prompt "JFFS2 default compression mode"
        default JFFS2_CMODE_PRIORITY
+       depends on JFFS2_COMPRESSION_OPTIONS
        depends on JFFS2_FS
        help
          You can set here the default compression mode of JFFS2 from