diff options
author | marius <marius@FreeBSD.org> | 2011-07-01 18:31:59 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-07-01 18:31:59 +0000 |
commit | 88b120a13d424157ae789bb5d4fe4671b11a3e1d (patch) | |
tree | 85cefe074e42ebcf45012f844c81a5f3392ee7c7 /sys/boot/userboot | |
parent | d7717a507b09f7de9731276fb39cd69e7407a3bc (diff) | |
download | FreeBSD-src-88b120a13d424157ae789bb5d4fe4671b11a3e1d.zip FreeBSD-src-88b120a13d424157ae789bb5d4fe4671b11a3e1d.tar.gz |
Fix r223695 to compile on architectures which don't use the MBR scheme; wrap
the MBR support in the common part of the loader in #ifdef's and enable it
only for userboot for now.
Diffstat (limited to 'sys/boot/userboot')
-rw-r--r-- | sys/boot/userboot/userboot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/userboot/userboot/Makefile b/sys/boot/userboot/userboot/Makefile index 7271fa7..28ddc12 100644 --- a/sys/boot/userboot/userboot/Makefile +++ b/sys/boot/userboot/userboot/Makefile @@ -32,7 +32,7 @@ CFLAGS+= -I${.CURDIR}/../../common CFLAGS+= -I${.CURDIR}/../../.. CFLAGS+= -I${.CURDIR}/../../../../lib/libstand CFLAGS+= -ffreestanding -I. -CFLAGS+= -DLOADER_GPT_SUPPORT +CFLAGS+= -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT LDFLAGS+= -nostdlib -Wl,-Bsymbolic |