Skip to content

Commit 13bbe1c

Browse files
lumagij-intel
authored andcommitted
platform/arm64: build drivers even on non-ARM64 platforms
The Kconfig for platforms/arm64 has 'depends on ARM64 || COMPILE_TEST'. However due to Makefile having just obj-$(CONFIG_ARM64) the subdir will not be descended for !ARM64 platforms and thus the drivers won't get built. This breaks modular builds of other driver drivers which depend on arm64 platform drivers. Reported-by: Greg Kroah-Hartman <[email protected]> Fixes: 363c8ae ("platform: Add ARM64 platform directory") Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 5e5f2f9 commit 13bbe1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ obj-$(CONFIG_OLPC_EC) += olpc/
1111
obj-$(CONFIG_GOLDFISH) += goldfish/
1212
obj-$(CONFIG_CHROME_PLATFORMS) += chrome/
1313
obj-$(CONFIG_SURFACE_PLATFORMS) += surface/
14-
obj-$(CONFIG_ARM64) += arm64/
14+
obj-$(CONFIG_ARM64_PLATFORM_DEVICES) += arm64/

0 commit comments

Comments
 (0)