From f468f12b1eca15e703aa2a79f1c82969c04c2322 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 16 Feb 2016 15:19:01 +0000 Subject: [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 --- src/arch/x86/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/x86/Makefile') 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 -- cgit