summaryrefslogtreecommitdiffstats
path: root/sys/boot/i386
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-10-07 08:09:20 +0000
committerphk <phk@FreeBSD.org>2002-10-07 08:09:20 +0000
commitc91ffdd939399cd253ce7fe0e51bdf04828dc0db (patch)
tree91d7936bab0915304fd5edf36aa7ec49ec94ec2f /sys/boot/i386
parente0eaaedba9a58f30748a9243261bcb08b5aae5b1 (diff)
downloadFreeBSD-src-c91ffdd939399cd253ce7fe0e51bdf04828dc0db.zip
FreeBSD-src-c91ffdd939399cd253ce7fe0e51bdf04828dc0db.tar.gz
Move the definition of UFS1_ONLY into the Makefiles where it belongs.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/boot/i386')
-rw-r--r--sys/boot/i386/boot2/Makefile2
-rw-r--r--sys/boot/i386/gptboot/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile
index 05cf5b0..e4ab3f5 100644
--- a/sys/boot/i386/boot2/Makefile
+++ b/sys/boot/i386/boot2/Makefile
@@ -36,6 +36,8 @@ CFLAGS= -elf -ffreestanding -Os -fno-builtin \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
+CFLAGS+= -DUFS1_ONLY
+
LDFLAGS=-nostdlib -static -N
all: boot1 boot2
diff --git a/sys/boot/i386/gptboot/Makefile b/sys/boot/i386/gptboot/Makefile
index 05cf5b0..e4ab3f5 100644
--- a/sys/boot/i386/gptboot/Makefile
+++ b/sys/boot/i386/gptboot/Makefile
@@ -36,6 +36,8 @@ CFLAGS= -elf -ffreestanding -Os -fno-builtin \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings
+CFLAGS+= -DUFS1_ONLY
+
LDFLAGS=-nostdlib -static -N
all: boot1 boot2
OpenPOWER on IntegriCloud