summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/Makefile
diff options
context:
space:
mode:
authorMichael Brown2008-11-18 23:30:37 +0100
committerMichael Brown2008-12-05 01:06:27 +0100
commitce0a0ccf5c2b99be684f13a9418d1556bae5f0ed (patch)
tree965c86dafc3fbdca8e46ee22b94387242cc0e288 /src/arch/i386/Makefile
parent[hermon] Fix permissions broken in 3a799e9 ("Add PCI ID for ConnectX QDR card") (diff)
downloadipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.tar.gz
ipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.tar.xz
ipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.zip
[x86_64] Add support for compilation as an x86_64 binary
Currently the only supported platform for x86_64 is EFI. Building an EFI64 gPXE requires a version of gcc that supports __attribute__((ms_abi)). This currently means a development build of gcc; the feature should be present when gcc 4.4 is released. In the meantime; you can grab a suitable gcc tree from git://git.etherboot.org/scm/people/mcb30/gcc/.git
Diffstat (limited to 'src/arch/i386/Makefile')
-rw-r--r--src/arch/i386/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/i386/Makefile b/src/arch/i386/Makefile
index e376b481..1392bbac 100644
--- a/src/arch/i386/Makefile
+++ b/src/arch/i386/Makefile
@@ -68,7 +68,6 @@ SRCDIRS += arch/i386/drivers/net
SRCDIRS += arch/i386/interface/pcbios
SRCDIRS += arch/i386/interface/pxe
SRCDIRS += arch/i386/interface/syslinux
-SRCDIRS += arch/i386/interface/efi
# The various xxx_loader.c files are #included into core/loader.c and
# should not be compiled directly.
@@ -82,6 +81,11 @@ NON_AUTO_SRCS += arch/i386/core/wince_loader.c
OBJS_unnrv2b = unnrv2b unnrv2b16
CFLAGS_unnrv2b16 = -DCODE16
+# Include common x86 Makefile
+#
+MAKEDEPS += arch/x86/Makefile
+include arch/x86/Makefile
+
# Include platform-specific Makefile
#
MAKEDEPS += arch/i386/Makefile.$(PLATFORM)