[gPXE-devel] [PATCH 2/3] [efi] Fix link order for elf2efi
Piotr Jaroszyński
p.jaroszynski at gmail.com
Tue Mar 30 13:09:10 EDT 2010
Dependencies are considered in left-to-right order so the source file
needs to come first in this case.
---
src/Makefile.housekeeping | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index c373c88..a573356 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -899,12 +899,12 @@ ELF2EFI_CFLAGS := -I$(BINUTILS_DIR)/include -I$(BFD_DIR)/include \
$(ELF2EFI32) : util/elf2efi.c $(MAKEDEPS)
$(QM)$(ECHO) " [HOSTCC] $@"
- $(Q)$(HOST_CC) $(ELF2EFI_CFLAGS) -DMDE_CPU_IA32 -O2 -o $@ $<
+ $(Q)$(HOST_CC) $< $(ELF2EFI_CFLAGS) -DMDE_CPU_IA32 -O2 -o $@
CLEANUP += $(ELF2EFI32)
$(ELF2EFI64) : util/elf2efi.c $(MAKEDEPS)
$(QM)$(ECHO) " [HOSTCC] $@"
- $(Q)$(HOST_CC) $(ELF2EFI_CFLAGS) -DMDE_CPU_X64 -O2 -o $@ $<
+ $(Q)$(HOST_CC) $< $(ELF2EFI_CFLAGS) -DMDE_CPU_X64 -O2 -o $@
CLEANUP += $(ELF2EFI64)
$(EFIROM) : util/efirom.c $(MAKEDEPS)
--
1.7.0.3
More information about the gPXE-devel
mailing list