mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 11:20:41 +07:00
8be381a131
The goals are to: - Allow precise control over and automatic selection of which (sub)drivers are used for which SoC, - Allow adding support for new SoCs easily, - Allow compile-testing of all (sub)drivers, - Keep driver selection logic in the subsystem-specific Kconfig, independent from the architecture-specific Kconfig (i.e. no "select" from arch/arm64/Kconfig.platforms), to avoid dependencies. This is implemented by: - Introducing Kconfig symbols for all drivers and sub-drivers, - Introducing the Kconfig symbol SOC_RENESAS, which is enabled automatically when building for a Renesas ARM platform, and which enables all required drivers without interaction of the user, based on SoC-specific ARCH_* symbols, - Allowing the user to enable any Kconfig symbol manually if COMPILE_TEST is enabled, - Using the new Kconfig symbols instead of the ARCH_* symbols to control compilation in the Makefile, - Always entering drivers/soc/renesas/ during the build. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
18 lines
601 B
Makefile
18 lines
601 B
Makefile
# Generic, must be first because of soc_device_register()
|
|
obj-$(CONFIG_SOC_RENESAS) += renesas-soc.o
|
|
|
|
# SoC
|
|
obj-$(CONFIG_SYSC_R8A7743) += r8a7743-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7745) += r8a7745-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7779) += r8a7779-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7790) += r8a7790-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7791) += r8a7791-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7792) += r8a7792-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7794) += r8a7794-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7795) += r8a7795-sysc.o
|
|
obj-$(CONFIG_SYSC_R8A7796) += r8a7796-sysc.o
|
|
|
|
# Family
|
|
obj-$(CONFIG_RST_RCAR) += rcar-rst.o
|
|
obj-$(CONFIG_SYSC_RCAR) += rcar-sysc.o
|