add a feature flag for device tree support
[openwrt.git] / Config.in
index bf1e139..5607e55 100644 (file)
--- a/Config.in
+++ b/Config.in
@@ -204,7 +204,7 @@ menu "Target Images"
 
        config TARGET_ROOTFS_INCLUDE_DTB
                bool "Include DTB in root filesystem"
-               depends on TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS
+               depends on USES_DEVICETREE && (TARGET_ROOTFS_UBIFS || TARGET_ROOTFS_EXT4FS)
                default n if USES_UBIFS
                help
                  Include the device tree blob file(s) in the rootfs. Typically the DTBs