diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2020-12-05 01:18:10 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-12-06 19:00:05 +0000 |
commit | 1a341af2f64337f0b51e6a6d24df72614924c750 (patch) | |
tree | 80cb7ff6a26e196a6084dbccee20c7517526f2aa /src/soc/amd | |
parent | 65783fbeb4d2b8180165b36083023f94bdccbdb7 (diff) | |
download | coreboot-1a341af2f64337f0b51e6a6d24df72614924c750.tar.xz |
soc/amd/picasso/Makefile: use all-y for adding config.c to the build
Since config.c also gets linked into verstage on PSP and not only into
the stages running on the x86 cores, use all-y instead of adding
config.c to all classes separately.
Change-Id: Icacb13e73e80e6f3d8c2141784702fb895daf7db
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/48313
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r-- | src/soc/amd/picasso/Makefile.inc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/soc/amd/picasso/Makefile.inc b/src/soc/amd/picasso/Makefile.inc index d86d97e7e2..d48dffdb9d 100644 --- a/src/soc/amd/picasso/Makefile.inc +++ b/src/soc/amd/picasso/Makefile.inc @@ -10,6 +10,8 @@ subdirs-y += ../../../cpu/x86/pae subdirs-y += ../../../cpu/x86/smm subdirs-$(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK) += psp_verstage +all-y += config.c + bootblock-y += bootblock.c bootblock-y += aoac.c bootblock-y += southbridge.c @@ -17,7 +19,6 @@ bootblock-y += i2c.c bootblock-y += uart.c bootblock-$(CONFIG_PICASSO_CONSOLE_UART) += uart_console.c bootblock-y += gpio.c -bootblock-y += config.c bootblock-y += reset.c romstage-y += i2c.c @@ -30,11 +31,9 @@ romstage-$(CONFIG_PICASSO_CONSOLE_UART) += uart_console.c romstage-y += aoac.c romstage-y += southbridge.c romstage-y += psp.c -romstage-y += config.c romstage-y += mrc_cache.c verstage-y += i2c.c -verstage-y += config.c verstage-y += aoac.c verstage_x86-y += gpio.c verstage_x86-y += uart.c @@ -63,7 +62,6 @@ ramstage-y += finalize.c ramstage-y += soc_util.c ramstage-y += psp.c ramstage-y += fsp_params.c -ramstage-y += config.c ramstage-y += update_microcode.c ramstage-y += graphics.c ramstage-y += pcie_gpp.c @@ -78,7 +76,6 @@ endif smm-y += gpio.c smm-y += psp.c smm-y += smu.c -smm-y += config.c CPPFLAGS_common += -I$(src)/soc/amd/picasso CPPFLAGS_common += -I$(src)/soc/amd/picasso/include |