summaryrefslogtreecommitdiffstats
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-02-26 11:55:23 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-06 11:41:28 +0100
commitb6a2800537e43e35ff9eb87244b3e606a1485461 (patch)
treecc19d64c7e5677e126735f9210e2b60e3d04ef0b /drivers/Makefile
parente627bc2bc1854573709b031c5562130e808aec21 (diff)
downloadbarebox-b6a2800537e43e35ff9eb87244b3e606a1485461.tar.gz
barebox-b6a2800537e43e35ff9eb87244b3e606a1485461.tar.xz
of: make OFDEVICE a user selectable option
OFDEVICE decides whether or not we compile in support for probing devices from the devicetree. Let the user decide this explicitly. This makes the oftree, of_node and of_property commands independent of devicetree device support since being able to manipulate devicetrees has nothing to do with probing devices from the devicetree. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index f81bf99ac4..03a10fbf2d 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -20,5 +20,5 @@ obj-y += misc/
obj-y += dma/
obj-y += watchdog/
obj-y += gpio/
-obj-$(CONFIG_OFDEVICE) += of/
+obj-$(CONFIG_OFTREE) += of/
obj-$(CONFIG_W1) += w1/