diff options
author | Piotr Jaroszyński | 2010-03-30 15:34:17 +0200 |
---|---|---|
committer | Michael Brown | 2010-05-27 11:15:49 +0200 |
commit | ba27168c2e9122859f4d722445e0637a77aab19c (patch) | |
tree | 9a6c8fd9b38cd054754fe48b53570fd5bb64be5c /src/Makefile.housekeeping | |
parent | [build] Inhibit "skipping incompatible" message from ld (diff) | |
download | ipxe-ba27168c2e9122859f4d722445e0637a77aab19c.tar.gz ipxe-ba27168c2e9122859f4d722445e0637a77aab19c.tar.xz ipxe-ba27168c2e9122859f4d722445e0637a77aab19c.zip |
[efi] Fix link order for elf2efi
Dependencies are considered in left-to-right order so the source file
needs to come first in this case.
Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index e5148e75..81396724 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -877,12 +877,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) |