diff options
| author | Simon Glass <[email protected]> | 2021-07-10 21:14:36 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-28 14:29:37 -0400 |
| commit | 975e7cf301b9641517a1173e2a1047ac0ed20daf (patch) | |
| tree | d8d3eb3177cb7b8667955818951161ca509c35a0 /drivers/Makefile | |
| parent | 59e11ebf841454a0991731f1ee6ae4eafd9cb235 (diff) | |
i2c: Rename SPL/TPL_I2C_SUPPORT to I2C
Rename these options so that CONFIG_IS_ENABLED can be used with them.
Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Diffstat (limited to 'drivers/Makefile')
| -rw-r--r-- | drivers/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 8961131ceea..2d4e30229b6 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -9,7 +9,11 @@ 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/ -obj-$(CONFIG_$(SPL_TPL_)I2C_SUPPORT) += i2c/ + +# 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/ |
