summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-02-08 07:33:38 -0700
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-03-19 19:27:44 +0000
commit83a31b0755d87c04579ba78ee8be326f3f20a6e3 (patch)
tree75bb65976681124115ff9a056a8a1ceb0b51ed53
parent4dac5207072f25f7eec5961e860ba9e5ff96b662 (diff)
Makefile: Drop unused variable originalobjs
This was added in commit 963bed546f (Make: Use unaltered object list for dependency inclusion) to fix an issue caused by ramstage-postprocess. The logic for handling dependency inclusion changed in commit db273065f6 (build system: extend src-to-obj for non-.c/.S files), causing the variable to become unused. Change-Id: I011ff2070bc31ab9ddf2536873555d0157f91fce Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80399 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin L Roth <gaumless@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 412d6a678a..fddcc5c55d 100644
--- a/Makefile
+++ b/Makefile
@@ -363,9 +363,6 @@ $(foreach class,$(classes),$(eval $(class)-alis:=$(call src-to-ali,$(class),$($(
# For Ada includes
$(foreach class,$(classes),$(eval $(class)-ada-dirs:=$(sort $(dir $(filter %.ads %.adb,$($(class)-srcs)) $($(class)-extra-specs)))))
-# Save all objs before processing them (for dependency inclusion)
-originalobjs:=$(foreach var, $(addsuffix -objs,$(classes)), $($(var)))
-
# Call post-processors if they're defined
$(foreach class,$(classes),\
$(if $(value $(class)-postprocess),$(eval $(call $(class)-postprocess,$($(class)-objs)))))