Makefile.inc: don't add fmap_config.h dependency twice

Commit d054bbd4f1 ("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>
This commit is contained in:
Felix Held
2023-06-22 16:16:45 +02:00
parent b5a032859a
commit 87a9d8ffe6
5 changed files with 1 additions and 32 deletions

View File

@@ -10,11 +10,6 @@ postcar-y += vboot_check.c
romstage-y += vboot_check.c
ramstage-y += vboot_check.c
$(call src-to-obj,bootblock,$(dir)/vboot_check.c) : $(obj)/fmap_config.h
$(call src-to-obj,postcar,$(dir)/vboot_check.c) : $(obj)/fmap_config.h
$(call src-to-obj,romstage,$(dir)/vboot_check.c) : $(obj)/fmap_config.h
$(call src-to-obj,ramstage,$(dir)/vboot_check.c) : $(obj)/fmap_config.h
ifeq ($(CONFIG_VENDORCODE_ELTAN_VBOOT),y)
cbfs-files-y += oemmanifest.bin
oemmanifest.bin-file := $(obj)/oemmanifest.bin