diff mbox series

drivers: soc: Allow building the amlogic drivers without ARCH_MESON

Message ID 20181112164654.28594-1-mjourdan@baylibre.com (mailing list archive)
State New, archived
Headers show
Series drivers: soc: Allow building the amlogic drivers without ARCH_MESON | expand

Commit Message

Maxime Jourdan Nov. 12, 2018, 4:46 p.m. UTC
The current condition makes it difficult to compile the amlogic/
drivers with COMPILE_TEST, or without ARCH_MESON in general.

Fixes kbuild errors with patch series that depend on drivers in that
directory, for instance the meson video decoder.

Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>
---
 drivers/soc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kevin Hilman Nov. 15, 2018, 8:26 p.m. UTC | #1
Maxime Jourdan <mjourdan@baylibre.com> writes:

> The current condition makes it difficult to compile the amlogic/
> drivers with COMPILE_TEST, or without ARCH_MESON in general.
>
> Fixes kbuild errors with patch series that depend on drivers in that
> directory, for instance the meson video decoder.
>
> Signed-off-by: Maxime Jourdan <mjourdan@baylibre.com>

Queued for v4.21 (drivers: v4.21/drivers)

Kevin
diff mbox series

Patch

diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
index 446166ba0bec..90b686e586c6 100644
--- a/drivers/soc/Makefile
+++ b/drivers/soc/Makefile
@@ -13,7 +13,7 @@  obj-$(CONFIG_ARCH_GEMINI)	+= gemini/
 obj-$(CONFIG_ARCH_MXC)		+= imx/
 obj-$(CONFIG_SOC_XWAY)		+= lantiq/
 obj-y				+= mediatek/
-obj-$(CONFIG_ARCH_MESON)	+= amlogic/
+obj-y				+= amlogic/
 obj-y				+= qcom/
 obj-y				+= renesas/
 obj-$(CONFIG_ARCH_ROCKCHIP)	+= rockchip/