From bdb37982d617a5275fe980eec6d86a4072f31340 Mon Sep 17 00:00:00 2001 From: Idwer Vollering Date: Thu, 24 Dec 2020 15:33:20 +0100 Subject: src/superio: trim and move Makefile.inc, instead use wildcard matches Signed-off-by: Idwer Vollering Change-Id: If77d59485451c77dcea752bc4fe0dfadba8fec45 Reviewed-on: https://review.coreboot.org/c/coreboot/+/48900 Reviewed-by: Felix Held Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- Makefile.inc | 4 ++-- src/superio/Makefile.inc | 14 -------------- src/superio/common/Makefile.inc | 4 ++++ 3 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 src/superio/Makefile.inc create mode 100644 src/superio/common/Makefile.inc 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 -- cgit v1.2.3