summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIdwer Vollering <vidwer@gmail.com>2020-12-24 15:33:20 +0100
committerIdwer Vollering <vidwer@gmail.com>2020-12-27 14:46:07 +0000
commitbdb37982d617a5275fe980eec6d86a4072f31340 (patch)
tree9d2adafd6e249a6063f1404c7e77c99fff7c5ab4
parent7e3126dbc5735e2c8251a832df4488deb66de520 (diff)
downloadcoreboot-bdb37982d617a5275fe980eec6d86a4072f31340.tar.gz
coreboot-bdb37982d617a5275fe980eec6d86a4072f31340.tar.bz2
coreboot-bdb37982d617a5275fe980eec6d86a4072f31340.zip
src/superio: trim and move Makefile.inc, instead use wildcard matches
Signed-off-by: Idwer Vollering <vidwer@gmail.com> Change-Id: If77d59485451c77dcea752bc4fe0dfadba8fec45 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48900 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--Makefile.inc4
-rw-r--r--src/superio/Makefile.inc14
-rw-r--r--src/superio/common/Makefile.inc4
3 files changed, 6 insertions, 16 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 2b9d58dc5303..bacddf2023b9 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -77,10 +77,10 @@ PHONY+= clean-abuild coreboot check-style build-dirs build_complete
#######################################################################
# root source directories of coreboot
-subdirs-y := src/lib src/commonlib/ src/console src/device src/acpi
+subdirs-y := src/lib src/commonlib/ src/console src/device src/acpi src/superio/common
subdirs-y += src/ec/acpi $(wildcard src/ec/*/*) $(wildcard src/southbridge/*/*)
subdirs-y += $(wildcard src/soc/*/*) $(wildcard src/northbridge/*/*)
-subdirs-y += src/superio
+subdirs-y += $(wildcard src/superio/*) $(wildcard src/superio/*/*)
subdirs-y += $(wildcard src/drivers/*) $(wildcard src/drivers/*/*) $(wildcard src/drivers/*/*/*)
subdirs-y += src/cpu src/vendorcode
subdirs-y += util/cbfstool util/sconfig util/nvramtool util/pgtblgen util/amdfwtool
diff --git a/src/superio/Makefile.inc b/src/superio/Makefile.inc
deleted file mode 100644
index e874f3403ee4..000000000000
--- a/src/superio/Makefile.inc
+++ /dev/null
@@ -1,14 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-
-subdirs-y += aspeed
-subdirs-y += fintek
-subdirs-y += ite
-subdirs-y += nsc
-subdirs-y += nuvoton
-subdirs-y += renesas
-subdirs-y += serverengines
-subdirs-y += smsc
-subdirs-y += winbond
-
-ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += common/conf_mode.c
-ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += common/conf_mode.c
diff --git a/src/superio/common/Makefile.inc b/src/superio/common/Makefile.inc
new file mode 100644
index 000000000000..46103c68d761
--- /dev/null
+++ b/src/superio/common/Makefile.inc
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_32) += conf_mode.c
+ramstage-$(CONFIG_ARCH_RAMSTAGE_X86_64) += conf_mode.c