aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/i386/loader/Makefile
diff options
context:
space:
mode:
authorToomas Soome <tsoome@FreeBSD.org>2017-06-16 20:08:44 +0000
committerToomas Soome <tsoome@FreeBSD.org>2017-06-16 20:08:44 +0000
commit769bad9f8a55c05abac59cbf35df663a79eb7436 (patch)
tree4fc254d1768e7f9f77522eeceaa9f2741237cfb0 /sys/boot/i386/loader/Makefile
parenta4110f9ffabd212bcf998eed0703389a3252ec11 (diff)
downloadsrc-769bad9f8a55c05abac59cbf35df663a79eb7436.tar.gz
src-769bad9f8a55c05abac59cbf35df663a79eb7436.zip
Add chain loader support for loader
Implement simple chain loader in loader; this update does add chain command, taking device or file as argument to load and start new boot loader. In case of BIOS, the chain will read the boot block to address 0000:7c00 and jumps on it. In case of UEFI, the chain command is to be used with efi application, typically stored in EFI System Partition. The update also does add simple menu entry, if the variable chain_disk is set. The value of the variable chain_disk is used as argument for chain loading. Relnotes: yes Differential Revision: https://reviews.freebsd.org/D5992
Notes
Notes: svn path=/head/; revision=320011
Diffstat (limited to 'sys/boot/i386/loader/Makefile')
-rw-r--r--sys/boot/i386/loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index 84404efb05d3..434ccc914946 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -14,7 +14,7 @@ LOADER_NFS_SUPPORT?= yes
LOADER_TFTP_SUPPORT?= yes
# architecture-specific loader code
-SRCS= main.c conf.c vers.c
+SRCS= main.c conf.c vers.c chain.c
# Put LOADER_FIREWIRE_SUPPORT=yes in /etc/make.conf for FireWire/dcons support
.if defined(LOADER_FIREWIRE_SUPPORT)