|
@@ -1303,19 +1303,15 @@ CLEANUP += $(ZBIN)
|
1303
|
1303
|
#
|
1304
|
1304
|
# The EFI image converter
|
1305
|
1305
|
#
|
1306
|
|
-ELF2EFI_CFLAGS := -I$(ZLIB_DIR)/include -idirafter include
|
1307
|
|
-ELF2EFI_LDFLAGS := -L$(ZLIB_DIR)/lib -lz -Wl,--no-warn-search-mismatch
|
1308
|
1306
|
|
1309
|
1307
|
$(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS)
|
1310
|
1308
|
$(QM)$(ECHO) " [HOSTCC] $@"
|
1311
|
|
- $(Q)$(HOST_CC) $(HOST_CFLAGS) $(ELF2EFI_CFLAGS) -DEFI_TARGET32 $< \
|
1312
|
|
- $(ELF2EFI_LDFLAGS) -o $@
|
|
1309
|
+ $(Q)$(HOST_CC) $(HOST_CFLAGS) -idirafter include -DEFI_TARGET32 $< -o $@
|
1313
|
1310
|
CLEANUP += $(ELF2EFI32)
|
1314
|
1311
|
|
1315
|
1312
|
$(ELF2EFI64) : util/elf2efi.c $(MAKEDEPS)
|
1316
|
1313
|
$(QM)$(ECHO) " [HOSTCC] $@"
|
1317
|
|
- $(Q)$(HOST_CC) $(HOST_CFLAGS) $(ELF2EFI_CFLAGS) -DEFI_TARGET64 $< \
|
1318
|
|
- $(ELF2EFI_LDFLAGS) -o $@
|
|
1314
|
+ $(Q)$(HOST_CC) $(HOST_CFLAGS) -idirafter include -DEFI_TARGET64 $< -o $@
|
1319
|
1315
|
CLEANUP += $(ELF2EFI64)
|
1320
|
1316
|
|
1321
|
1317
|
$(EFIROM) : util/efirom.c $(MAKEDEPS)
|