Skip to content

Commit

Permalink
[build] Remove redundant invocations of objcopy
Browse files Browse the repository at this point in the history
Unlike the older efireloc, the elf2efi tool does not require a
separate invocation of objcopy to create the PE binary.

Signed-off-by: Michael Brown <[email protected]>
  • Loading branch information
mcb30 committed Dec 6, 2023
1 parent 2a3eb91 commit 369b00b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,10 @@ wimboot.%.elf : lib.%.a script.lds Makefile

wimboot.i386.unsigned : \
wimboot.%.unsigned : wimboot.%.elf elf2efi32 Makefile
$(OBJCOPY_$*) -Obinary $< $@
./elf2efi32 --hybrid $< $@

wimboot.x86_64.unsigned wimboot.arm64.unsigned : \
wimboot.%.unsigned : wimboot.%.elf elf2efi64 Makefile
$(OBJCOPY_$*) -Obinary $< $@
./elf2efi64 --hybrid $< $@

wimboot.%.unsigned.hash : wimboot.%.unsigned Makefile
Expand Down

0 comments on commit 369b00b

Please sign in to comment.