Similar to commit 7f94b69ece51 ("ARM: ixp4xx: fix compile-testing soc drivers"). drivers/soc/rockchip/Kconfig makes plenty of provision for configuring drivers either for ARCH_ROCKCHIP or for COMPILE_TEST. But drivers/soc/Makefile pulls the rug out from under us, by refusing to build anything if we specified COMPILE_TEST but not ARCH_ROCKCHIP. Currently, I'm not aware of anything that breaks without this patch, but it certainly makes for confusing builds (CONFIG_ROCKCHIP_PM_DOMAINS=y, but we didn't actually compile the driver?) and leaves room for future error (I have pending patches that break confusingly with COMPILE_TEST=y even though their Kconfig dependencies seem correct [1]). Defer to drivers/soc/rockchip/{Makefile,Kconfig} to do the right thing. [1] e.g., https://lore.kernel.org/linux-rockchip/20220405184816.RFC.2.I2d73b403944f0b8b5871a77585b73f31ccc62999@changeid/ [RFC PATCH 2/2] PM / devfreq: rk3399_dmc: Block PMU during transitions Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20220425184503.v3.3.Id5f16dec920f620120c0a143a97a12e16d401760@changeid Signed-off-by: Heiko Stuebner <heiko@sntech.de>
34 lines
891 B
Makefile
34 lines
891 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the Linux Kernel SOC specific device drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_ARCH_ACTIONS) += actions/
|
|
obj-$(CONFIG_ARCH_APPLE) += apple/
|
|
obj-y += aspeed/
|
|
obj-$(CONFIG_ARCH_AT91) += atmel/
|
|
obj-y += bcm/
|
|
obj-$(CONFIG_SOC_CANAAN) += canaan/
|
|
obj-$(CONFIG_ARCH_DOVE) += dove/
|
|
obj-$(CONFIG_MACH_DOVE) += dove/
|
|
obj-y += fsl/
|
|
obj-$(CONFIG_ARCH_GEMINI) += gemini/
|
|
obj-y += imx/
|
|
obj-y += ixp4xx/
|
|
obj-$(CONFIG_SOC_XWAY) += lantiq/
|
|
obj-$(CONFIG_LITEX_SOC_CONTROLLER) += litex/
|
|
obj-y += mediatek/
|
|
obj-y += microchip/
|
|
obj-y += amlogic/
|
|
obj-y += qcom/
|
|
obj-y += renesas/
|
|
obj-y += rockchip/
|
|
obj-$(CONFIG_SOC_SAMSUNG) += samsung/
|
|
obj-$(CONFIG_SOC_SIFIVE) += sifive/
|
|
obj-y += sunxi/
|
|
obj-$(CONFIG_ARCH_TEGRA) += tegra/
|
|
obj-y += ti/
|
|
obj-$(CONFIG_ARCH_U8500) += ux500/
|
|
obj-$(CONFIG_PLAT_VERSATILE) += versatile/
|
|
obj-y += xilinx/
|