mirror of
https://github.com/rhboot/gnu-efi
synced 2026-08-26 00:26:04 -04:00
This commit inserts the libefi.a objects in a stable order.
When building libefi.a with "make -jN", the object files in libefi.a will be inserted in a random order. Although it won't hurt the functionality, it could make the EFI image irreproducible and invalidate the detached signature after rebuilding libefi.a without any change in the source code. Signed-off-by: Gary Lin <glin@suse.com> Signed-off-by: Nigel Croxon <ncroxon@redhat.com>
This commit is contained in:
parent
8d8a3b5dff
commit
61859152d8
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ all: libsubdirs libefi.a
|
|||
libsubdirs:
|
||||
for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
|
||||
|
||||
libefi.a: $(patsubst %,libefi.a(%),$(OBJS))
|
||||
libefi.a: $(OBJS)
|
||||
$(AR) rv -U $@ $^
|
||||
|
||||
clean:
|
||||
rm -f libefi.a *~ $(OBJS) */*.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue