Skip to contentSkip to conversation

drivers: soc: Allow building the amlogic drivers without ARCH_MESON

PATCH In review Maxime Jourdan 2 participants 2 messages Nov 12, 2018 – Nov 15, 2018 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers: soc: Allow building the amlogic drivers without ARCH_MESON

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.

---
 drivers/soc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/Makefile +1 -1
index 446166ba0bec..90b686e586c6 100644
@@ -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/
Signature · 1 line
2.19.1
maintainer
#1 lore raw
Quoted 7 lines · Maxime Jourdan

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.

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

Kevin