Subrata Banik has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/82687?usp=email )
Change subject: libpayload: Include libpayload-config.h in lib target ......................................................................
libpayload: Include libpayload-config.h in lib target
* Added `$(obj)/libpayload-config.h` as a dependency for the `lib` target. * This ensures the config header is up-to-date before building the library.
Change-Id: If26336f6261aadf611fa5338c4300873156cc3da Signed-off-by: Subrata Banik subratabanik@google.com --- M payloads/libpayload/Makefile.mk 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/82687/1
diff --git a/payloads/libpayload/Makefile.mk b/payloads/libpayload/Makefile.mk index d5a9a81..15110f5 100644 --- a/payloads/libpayload/Makefile.mk +++ b/payloads/libpayload/Makefile.mk @@ -96,7 +96,7 @@ cmp $@ $< 2>/dev/null || cp $< $@
library-targets = $(addsuffix .a,$(addprefix $(obj)/,$(libraries))) $(obj)/libpayload.a -lib: $$(library-targets) $(obj)/libpayload.ldscript +lib: $$(library-targets) $(obj)/libpayload-config.h $(obj)/libpayload.ldscript
extract_nth=$(word $(1), $(subst |, ,$(2)))