]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drivers: soc: Allow building the amlogic drivers without ARCH_MESON
authorMaxime Jourdan <mjourdan@baylibre.com>
Mon, 12 Nov 2018 16:46:54 +0000 (17:46 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:22 +0000 (08:51 +0100)
[ Upstream commit 41bb5769b7f4b7a85e4b92c37429228279b4f569 ]

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>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/Makefile

index 113e884697fd8c3478d9b7900a79360fb3fad2f5..f0d46b16e08c4f518e7a9be90a948fab7c129b0f 100644 (file)
@@ -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/