From 27bb4475fb3c45571ca084c5903e3eeca68d018e Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Fri, 22 Nov 2013 12:01:01 +0000 Subject: add a feature flag for device tree support Signed-off-by: Imre Kaloz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/target.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/target.mk b/include/target.mk index 467ef357666..acb9adf584e 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 -- cgit v1.2.3