input: Move input.o to be built only in some cases
authorTom Rini <trini@konsulko.com>
Sun, 17 Nov 2019 00:48:39 +0000 (19:48 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 19 Nov 2019 22:43:04 +0000 (17:43 -0500)
commit30b59dd8ba1b5272e4ac058f2c3ed768085c15d6
tree8cd8cc1858171350e30d16828b3f5174a06473c6
parent99f9682cae45604ed3ad923cf2caa8fdd0e273e3
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 <trini@konsulko.com>
drivers/input/Makefile