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>
This commit is contained in:
Idwer Vollering 2020-12-24 15:33:20 +01:00
parent 7e3126dbc5
commit bdb37982d6
3 changed files with 6 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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