summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2b9d58dc53..bacddf2023 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 e874f3403e..0000000000
--- 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 0000000000..46103c68d7
--- /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