svn commit: r326442 - in head/stand: . powerpc/boot1.chrp
Warner Losh
imp at FreeBSD.org
Sat Dec 2 00:07:07 UTC 2017
Author: imp
Date: Sat Dec 2 00:07:04 2017
New Revision: 326442
URL: https://svnweb.freebsd.org/changeset/base/326442
Log:
Cleanup CFALGS usage here
Only define the CFLAGS we need.
SSP_CFLAGS is now defined globally, no need to define it here.
Define -D_STANDALONE globally for src/stand builds.
Sponsored by: Netflix
Modified:
head/stand/defs.mk
head/stand/powerpc/boot1.chrp/Makefile
Modified: head/stand/defs.mk
==============================================================================
--- head/stand/defs.mk Sat Dec 2 00:06:58 2017 (r326441)
+++ head/stand/defs.mk Sat Dec 2 00:07:04 2017 (r326442)
@@ -39,7 +39,7 @@ LIBSA32= ${BOOTOBJ}/libsa32/libsa32.a
.endif
# Standard options:
-CFLAGS+= -I${SASRC}
+CFLAGS+= -I${SASRC} -D_STANDALONE
CFLAGS+= -I${SYSDIR}
# Filesystem support
Modified: head/stand/powerpc/boot1.chrp/Makefile
==============================================================================
--- head/stand/powerpc/boot1.chrp/Makefile Sat Dec 2 00:06:58 2017 (r326441)
+++ head/stand/powerpc/boot1.chrp/Makefile Sat Dec 2 00:07:04 2017 (r326442)
@@ -2,8 +2,6 @@
.include <bsd.init.mk>
-SSP_CFLAGS=
-
PROG= boot1.elf
NEWVERSWHAT= "Open Firmware boot block" ${MACHINE_ARCH}
INSTALLFLAGS= -b
@@ -13,7 +11,7 @@ SRCS= boot1.c ashldi3.c syncicache.c
MAN=
-CFLAGS= -I${LDRSRC} -I${SYSDIR} -I${SASRC} -D_STANDALONE
+CFLAGS+=-I${LDRSRC}
LDFLAGS=-nostdlib -static -Wl,-N
.PATH: ${SYSDIR}/libkern ${SRCTOP}/lib/libc/powerpc/gen ${.CURDIR}
More information about the svn-src-all
mailing list