input: Move input.o to be built only in some cases
PATCH 1/1 input: Move input.o to be built only in some cases
We only need to build and link input.o when we have any of CONFIG_KEYBOARD, CONFIG_DM_KEYBOARD (and SPL/TPL variants) or CONFIG_TEGRA_KEYBOARD set.
Signed-off-by Tom Rini <[email protected]>
--- drivers/input/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/input/Makefile +3 -3
@@ -3,15 +3,15 @@ # (C) Copyright 2000-2007 # Wolfgang Denk, DENX Software Engineering, wd at denx.de. -obj-y += input.o +obj-$(CONFIG_KEYBOARD) += input.o obj-$(CONFIG_$(SPL_TPL_)CROS_EC_KEYB) += cros_ec_keyb.o obj-$(CONFIG_$(SPL_TPL_)OF_CONTROL) += key_matrix.o -obj-$(CONFIG_$(SPL_TPL_)DM_KEYBOARD) += keyboard-uclass.o +obj-$(CONFIG_$(SPL_TPL_)DM_KEYBOARD) += input.o keyboard-uclass.o ifndef CONFIG_SPL_BUILD obj-$(CONFIG_I8042_KEYB) += i8042.o -obj-$(CONFIG_TEGRA_KEYBOARD) += tegra-kbc.o +obj-$(CONFIG_TEGRA_KEYBOARD) += input.o tegra-kbc.o obj-$(CONFIG_TWL4030_INPUT) += twl4030.o obj-$(CONFIG_TWL6030_INPUT) += twl6030.o endif
Signature · 1 line
2.17.1
PATCH 1/1 input: Move input.o to be built only in some cases
Quoted 5 lines · Tom Rini
We only need to build and link input.o when we have any of
CONFIG_KEYBOARD,CONFIG_DM_KEYBOARD(and SPL/TPL variants) orCONFIG_TEGRA_KEYBOARDset.Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191120/d52e0fd5/attachment.sig>