summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/Makefile
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2010-01-12 11:15:41 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2010-01-14 10:06:16 +0100
commit7dcc15e8197e647abc80b1d3298a91edd45a8c2d (patch)
treef0bb5981a61c989ce37d40554971b9adc49e2b3e /arch/x86/boot/Makefile
parent2bdd75bd02f3d214b285429be72b3a0eab4e9610 (diff)
downloadbarebox-7dcc15e8197e647abc80b1d3298a91edd45a8c2d.tar.gz
barebox-7dcc15e8197e647abc80b1d3298a91edd45a8c2d.tar.xz
Add functions to be able to boot with BIOSs help
These functions are special: They are running in the 16 bit real mode world to bring up barebox on an x86 box. Signed-off-by: Juergen Beisert <jbe@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/boot/Makefile')
-rw-r--r--arch/x86/boot/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/boot/Makefile b/arch/x86/boot/Makefile
new file mode 100644
index 0000000000..b92b4750fc
--- /dev/null
+++ b/arch/x86/boot/Makefile
@@ -0,0 +1,13 @@
+
+CPPFLAGS += -D__I386__ -fno-strict-aliasing -m32 -g -Os -march=i386 \
+ -mregparm=3 -fno-strict-aliasing -fomit-frame-pointer -ffreestanding \
+ -fno-toplevel-reorder -fno-unit-at-a-time -fno-stack-protector \
+ -mpreferred-stack-boundary=2
+
+obj-$(CONFIG_X86_HDBOOT) += boot_main.o boot_hdisk.o
+
+obj-$(CONFIG_X86_BIOS_BRINGUP) += prepare_uboot.o a20.o bioscall.o regs.o tty.o pmjump.o main_entry.o
+
+obj-$(CONFIG_X86_VESA) += console_vesa.o
+obj-$(CONFIG_X86_VGA) += console_vga.o
+obj-$(CONFIG_X86_SERIAL) += console_serial.o