From 83a31b0755d87c04579ba78ee8be326f3f20a6e3 Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Thu, 8 Feb 2024 07:33:38 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/80399 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth Reviewed-by: Nico Huber --- Makefile | 3 --- 1 file changed, 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))))) -- cgit v1.2.3