[coreboot-gerrit] Patch set updated for coreboot: kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Apr 15 20:20:18 CEST 2016


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/14047

-gerrit

commit debf2ad8334f1f1b0baabaa8c217a8ac38497575
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Fri Mar 11 20:22:28 2016 -0800

    kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme
    
    Reorder drivers to fit src/drivers/[X]/[Y]/ scheme to make
    them pluggable.
    
    Change-Id: I455d3089a317181d5b99bf658df759ec728a5f6b
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 Makefile.inc | 4 +++-
 src/Kconfig  | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile.inc b/Makefile.inc
index 0a3b92c..e6f38c5 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -73,7 +73,9 @@ PHONY+= clean-abuild coreboot lint lint-stable build-dirs build_complete
 subdirs-y := src/lib src/commonlib/ src/console src/device src/acpi
 subdirs-y += src/ec/acpi $(wildcard src/ec/*/*) $(wildcard src/southbridge/*/*)
 subdirs-y += $(wildcard src/soc/*/*) $(wildcard src/northbridge/*/*)
-subdirs-y += src/superio $(wildcard src/drivers/*) src/cpu src/vendorcode
+subdirs-y += src/superio
+subdirs-y += $(wildcard src/drivers/*) $(wildcard src/drivers/*/*)
+subdirs-y += src/cpu src/vendorcode
 subdirs-y += util/cbfstool util/sconfig util/nvramtool util/broadcom
 subdirs-y += util/futility util/marvell
 subdirs-y += $(wildcard src/arch/*)
diff --git a/src/Kconfig b/src/Kconfig
index 0649bf7..f9bd661 100644
--- a/src/Kconfig
+++ b/src/Kconfig
@@ -432,6 +432,7 @@ source "src/superio/*/Kconfig"
 comment "Embedded Controllers"
 source "src/ec/acpi/Kconfig"
 source "src/ec/*/*/Kconfig"
+# FIXME move to vendorcode
 source "src/drivers/intel/fsp1_0/Kconfig"
 
 source "src/southbridge/intel/common/firmware/Kconfig"
@@ -445,6 +446,7 @@ source "src/device/Kconfig"
 
 menu "Generic Drivers"
 source "src/drivers/*/Kconfig"
+source "src/drivers/*/*/Kconfig"
 endmenu
 
 config RTC



More information about the coreboot-gerrit mailing list