add a feature flag for device tree support
[openwrt/staging/chunkeey.git] / Config.in
index bf1e139f2e666d4b1de31a76ecf846c1f233b019..5607e55d4d1979f7421eb35bf7c1d15b47ec75fd 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