summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-11 06:14:37 +0300
committerTom Rini <trini@konsulko.com>2021-07-28 21:29:37 +0300
commit537892065ac1428a48193d4b0fa7bf827e8d0d44 (patch)
tree3065b9346139a0f30bc3f9e77f1ee27e8fba3fdd /drivers/Makefile
parent975e7cf301b9641517a1173e2a1047ac0ed20daf (diff)
downloadu-boot-537892065ac1428a48193d4b0fa7bf827e8d0d44.tar.xz
Makefile: Move drivers/i2c/ into drivers/Makefile
This rule should not be in the top-level Makefile. Now that we have a consistent set of I2C Kconfigs for U-Boot proper, SPL and TPL, we can move it. Make use of the existing SPL/TPL rule in drivers/Makefile instead. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 2d4e30229b..56749278f4 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -9,11 +9,7 @@ obj-$(CONFIG_$(SPL_TPL_)GPIO) += gpio/
obj-$(CONFIG_$(SPL_TPL_)DRIVERS_MISC) += misc/
obj-$(CONFIG_$(SPL_TPL_)SYSRESET) += sysreset/
obj-$(CONFIG_$(SPL_TPL_)FIRMWARE) +=firmware/
-
-# This is needed for now, until we drop the i2c/ rule in the top-level Makefile
-ifdef CONFIG_SPL_BUILD
obj-$(CONFIG_$(SPL_TPL_)I2C) += i2c/
-endif
obj-$(CONFIG_$(SPL_TPL_)INPUT) += input/
obj-$(CONFIG_$(SPL_TPL_)LED) += led/
obj-$(CONFIG_$(SPL_TPL_)MMC_SUPPORT) += mmc/