summaryrefslogtreecommitdiffstats
path: root/sys/boot/powerpc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 09:26:35 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 09:26:35 +0000
commitce04447cdfa298204b0d3e6fe6cc24686c935354 (patch)
tree129629b06e5fc8f495f4447b72ce9c193c4cae7d /sys/boot/powerpc
parent5eb5239e7b9b006e0d68a2a4dd7bb7fdc40f042d (diff)
downloadFreeBSD-src-ce04447cdfa298204b0d3e6fe6cc24686c935354.zip
FreeBSD-src-ce04447cdfa298204b0d3e6fe6cc24686c935354.tar.gz
-ffreestanding is the word.
(also resort some CFLAGS such that the more "important" value are first so they are easier to see)
Diffstat (limited to 'sys/boot/powerpc')
-rw-r--r--sys/boot/powerpc/loader/Makefile2
-rw-r--r--sys/boot/powerpc/ofw/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/powerpc/loader/Makefile b/sys/boot/powerpc/loader/Makefile
index 045f190..4887c04 100644
--- a/sys/boot/powerpc/loader/Makefile
+++ b/sys/boot/powerpc/loader/Makefile
@@ -11,6 +11,7 @@ INSTALLFLAGS= -b
LOADER_DISK_SUPPORT?= yes
LOADER_NET_SUPPORT?= yes
+CFLAGS+= -ffreestanding
# load address
RELOC?= 0x6c0000
CFLAGS+= -DRELOC=${RELOC}
@@ -48,7 +49,6 @@ CFLAGS+= -I${.CURDIR}/../../.. -I.
CLEANFILES+= vers.c vers.o ${BASE}.list ${BASE}.bin ${BASE}.sym ${BASE}.help
-CFLAGS+= -Wall
LDFLAGS= -nostdlib -static -Ttext ${RELOC}
# OpenFirmware standalone support library
diff --git a/sys/boot/powerpc/ofw/Makefile b/sys/boot/powerpc/ofw/Makefile
index 045f190..4887c04 100644
--- a/sys/boot/powerpc/ofw/Makefile
+++ b/sys/boot/powerpc/ofw/Makefile
@@ -11,6 +11,7 @@ INSTALLFLAGS= -b
LOADER_DISK_SUPPORT?= yes
LOADER_NET_SUPPORT?= yes
+CFLAGS+= -ffreestanding
# load address
RELOC?= 0x6c0000
CFLAGS+= -DRELOC=${RELOC}
@@ -48,7 +49,6 @@ CFLAGS+= -I${.CURDIR}/../../.. -I.
CLEANFILES+= vers.c vers.o ${BASE}.list ${BASE}.bin ${BASE}.sym ${BASE}.help
-CFLAGS+= -Wall
LDFLAGS= -nostdlib -static -Ttext ${RELOC}
# OpenFirmware standalone support library
OpenPOWER on IntegriCloud