diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2010-01-12 11:15:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-01-14 10:06:15 +0100 |
commit | 5d591e14ef15f28779a9c5aba08549129a29a550 (patch) | |
tree | 2b790198f4e3ceae59ff912b881189f3fc572106 /scripts/Makefile | |
parent | 6dff4e13a15cb806d835919de63c10da2f609932 (diff) | |
download | barebox-5d591e14ef15f28779a9c5aba08549129a29a550.tar.gz barebox-5d591e14ef15f28779a9c5aba08549129a29a550.tar.xz |
Add a tool to activate barebox as a boot loader on x86 architectures
To use barebox as a BIOS based bootloader for x86 architectures, the binary
must be patched to get it bootstrapped at runtime. The 'setupmbr' tool installs
the barebox-binary to the given device node or image file and patch it in
accordance to the needed sector information at runtime.
Signed-off by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile')
-rw-r--r-- | scripts/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile index c22a8b6e85..be8e3e056e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -14,5 +14,7 @@ always := $(hostprogs-y) $(hostprogs-m) subdir-y += mod +subdir-$(CONFIG_X86) += setupmbr + # Let clean descend into subdirs -subdir- += basic kconfig +subdir- += basic kconfig setupmbr |