summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-11-22 12:01:01 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-11-22 12:01:01 +0000
commitf3e2331e18708d7080cbd12cbb967e076fd747d1 (patch)
treea4591b666464fb73af8d9de45f00110ab47842de /include
parent4242b42880c535007e68cc1bedbe83a4aef36814 (diff)
downloadmtk-20170518-f3e2331e18708d7080cbd12cbb967e076fd747d1.zip
mtk-20170518-f3e2331e18708d7080cbd12cbb967e076fd747d1.tar.gz
mtk-20170518-f3e2331e18708d7080cbd12cbb967e076fd747d1.tar.bz2
add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38893
Diffstat (limited to 'include')
-rw-r--r--include/target.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/target.mk b/include/target.mk
index 467ef35..acb9adf 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -167,6 +167,9 @@ ifeq ($(DUMP),1)
.SILENT: $(TMP_CONFIG)
.PRECIOUS: $(TMP_CONFIG)
+ ifneq ($(CONFIG_OF),)
+ FEATURES += dt
+ endif
ifneq ($(CONFIG_GENERIC_GPIO)$(CONFIG_GPIOLIB),)
FEATURES += gpio
endif