summaryrefslogtreecommitdiff
path: root/src/drivers/smmstore
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-06-22 16:16:45 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-06-23 16:31:47 +0000
commit87a9d8ffe641480c86eb8e856480692748930b8e (patch)
tree2646aae9bc5e47f6f8144cc68251d9d8bb639c3d /src/drivers/smmstore
parentb5a032859aec1449b46eed60a6c6aeb9147e45a7 (diff)
Makefile.inc: don't add fmap_config.h dependency twice
Commit d054bbd4f1ba ("Makefile.inc: fix multiple jobs build issue") added a dependency on $(obj)/fmap_config.h to all .c source files in all stages, so it's not needed any more to add it as a dependency to files that include fmap_config.h. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: I7b62917f32ae9f51f079b243a606e5db07ca9099 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76002 Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/drivers/smmstore')
-rw-r--r--src/drivers/smmstore/Makefile.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/drivers/smmstore/Makefile.inc b/src/drivers/smmstore/Makefile.inc
index 1c2e3367ae..b37637b2b5 100644
--- a/src/drivers/smmstore/Makefile.inc
+++ b/src/drivers/smmstore/Makefile.inc
@@ -1,13 +1,5 @@
all-$(CONFIG_SMMSTORE) += store.c
-ifeq ($(CONFIG_SMMSTORE),y)
-$(call src-to-obj,bootblock,$(dir)/store.c) : $(obj)/fmap_config.h
-$(call src-to-obj,verstage,$(dir)/store.c) : $(obj)/fmap_config.h
-$(call src-to-obj,romstage,$(dir)/store.c) : $(obj)/fmap_config.h
-$(call src-to-obj,postcar,$(dir)/store.c) : $(obj)/fmap_config.h
-$(call src-to-obj,ramstage,$(dir)/store.c) : $(obj)/fmap_config.h
-$(call src-to-obj,smm,$(dir)/store.c) : $(obj)/fmap_config.h
-endif
ramstage-$(CONFIG_SMMSTORE_V2) += ramstage.c
smm-$(CONFIG_SMMSTORE) += store.c smi.c