aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-11-18 14:30:37 -0800
committerMichael Brown <mcb30@etherboot.org>2008-12-05 00:06:27 +0000
commitce0a0ccf5c2b99be684f13a9418d1556bae5f0ed (patch)
tree965c86dafc3fbdca8e46ee22b94387242cc0e288 /src/arch/x86/Makefile
parentb0d2c9a4d5b5dd669a845127a37ba08440e2820b (diff)
downloadipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.zip
ipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.tar.gz
ipxe-ce0a0ccf5c2b99be684f13a9418d1556bae5f0ed.tar.bz2
[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/x86/Makefile')
-rw-r--r--src/arch/x86/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/x86/Makefile b/src/arch/x86/Makefile
new file mode 100644
index 0000000..9ac75b4
--- /dev/null
+++ b/src/arch/x86/Makefile
@@ -0,0 +1,8 @@
+# Include common x86 headers
+#
+CFLAGS += -Iarch/x86/include
+
+# x86-specific directories containing source files
+#
+SRCDIRS += arch/x86/core
+SRCDIRS += arch/x86/interface/efi