summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-04-02 15:50:31 (GMT)
committerTom Rini <trini@konsulko.com>2017-04-05 20:36:58 (GMT)
commit5a6f06f696c9c4cf84666ac12b3b3bc3f6fcd93d (patch)
treebdd23ca7f3a9da8a6dc9270d6a4f4dc52f3007ba /drivers/Makefile
parent001f3142c30c35493c57268bd49a4f87f8da9f0d (diff)
downloadu-boot-5a6f06f696c9c4cf84666ac12b3b3bc3f6fcd93d.tar.xz
dm: core: Allow driver model to be disabled for TPL
Since TPL often needs to be very very small it may not make sense to enable driver model. Add an option for this. This changes brings the 'rock' board under the TPL limit with gcc 4.9. Signed-off-by: Simon Glass <sjg@chromium.org>
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 34c55bf..5d8baa5 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: GPL-2.0+
#
-obj-$(CONFIG_$(SPL_)DM) += core/
+obj-$(CONFIG_$(SPL_TPL_)DM) += core/
obj-$(CONFIG_$(SPL_)CLK) += clk/
obj-$(CONFIG_$(SPL_)LED) += led/
obj-$(CONFIG_$(SPL_)PINCTRL) += pinctrl/