aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86/Makefile
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-02-16 15:19:01 +0000
committerMichael Brown <mcb30@ipxe.org>2016-02-16 19:32:32 +0000
commitf468f12b1eca15e703aa2a79f1c82969c04c2322 (patch)
treef1868e6cb7debaeb7aca59e4488b603fcc6481d7 /src/arch/x86/Makefile
parent43515f9f1a3e3bfaa9171f4711ed0aafef1caf06 (diff)
downloadipxe-f468f12b1eca15e703aa2a79f1c82969c04c2322.tar.gz
[bios] Add bin-x86_64-pcbios build platform
Move most arch/i386 files to arch/x86, and adjust the contents of the Makefiles and the include/bits/*.h headers to reflect the new locations. This patch makes no substantive code changes, as can be seen using a rename-aware diff (e.g. "git show -M5"). This patch does not make the pcbios platform functional for x86_64; it merely allows it to compile without errors. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/Makefile')
-rw-r--r--src/arch/x86/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/x86/Makefile b/src/arch/x86/Makefile
index 4ab741db7..6ad8031fd 100644
--- a/src/arch/x86/Makefile
+++ b/src/arch/x86/Makefile
@@ -5,12 +5,17 @@ INCDIRS += arch/x86/include
# x86-specific directories containing source files
#
SRCDIRS += arch/x86/core
+SRCDIRS += arch/x86/image
+SRCDIRS += arch/x86/interface/pcbios
+SRCDIRS += arch/x86/interface/pxe
+SRCDIRS += arch/x86/interface/pxeparent
SRCDIRS += arch/x86/interface/efi
SRCDIRS += arch/x86/interface/vmware
SRCDIRS += arch/x86/prefix
SRCDIRS += arch/x86/hci/commands
SRCDIRS += arch/x86/drivers/xen
SRCDIRS += arch/x86/drivers/hyperv
+SRCDIRS += arch/x86/transitions
# breaks building some of the linux-related objects
CFLAGS += -Ulinux
@@ -18,6 +23,10 @@ CFLAGS += -Ulinux
# disable valgrind
CFLAGS += -DNVALGRIND
+# Define version string for lkrnprefix.S
+#
+CFLAGS_lkrnprefix += -DVERSION="\"$(VERSION)\""
+
# Include Hyper-V driver in the all-drivers build
#
DRIVERS_hyperv += hyperv