Skip to content

Commit de831c5

Browse files
committed
Changed efi target type to be more portable
1 parent 1a5683c commit de831c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ wolfboot.efi: wolfboot.elf
318318
$(Q)$(OBJCOPY) -j .rodata -j .text -j .sdata -j .data \
319319
-j .dynamic -j .dynsym -j .rel \
320320
-j .rela -j .reloc -j .eh_frame \
321-
--target=efi-app-x86_64 --subsystem=10 $^ $@
321+
-O pei-x86-64 --subsystem=10 $^ $@
322322
@echo
323323
@echo "\t[SIZE]"
324324
$(Q)$(SIZE) wolfboot.efi

0 commit comments

Comments
 (0)