From 5a6f06f696c9c4cf84666ac12b3b3bc3f6fcd93d Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 2 Apr 2017 09:50:31 -0600 Subject: 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 --- drivers/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/Makefile') diff --git a/drivers/Makefile b/drivers/Makefile index 34c55bfb2f..5d8baa5a1f 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/ -- cgit v1.2.3