kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme
Reorder drivers to fit src/drivers/[X]/[Y]/ scheme to make them pluggable. Also, fix up the following driver subdirectories by switching to the src/drivers/[X]/[Y]/ scheme as these are hard requirements for the main change: * drivers/intel * drivers/pc80 * drivers/dec Change-Id: I455d3089a317181d5b99bf658df759ec728a5f6b Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14047 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
15
src/drivers/pc80/rtc/Makefile.inc
Normal file
15
src/drivers/pc80/rtc/Makefile.inc
Normal file
@@ -0,0 +1,15 @@
|
||||
ifeq ($(CONFIG_ARCH_X86),y)
|
||||
|
||||
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_early.c
|
||||
romstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc_early.c
|
||||
ramstage-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
cbfs-files-$(CONFIG_HAVE_CMOS_DEFAULT) += cmos.default
|
||||
cmos.default-file = $(CONFIG_CMOS_DEFAULT_FILE):nvramtool
|
||||
cmos.default-type = 0xaa
|
||||
|
||||
smm-$(CONFIG_DRIVERS_MC146818) += mc146818rtc.c
|
||||
|
||||
endif
|
Reference in New Issue
Block a user