summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/conf/Makefile.mvme88k
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:54:55 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:54:55 +0000
commit147d62531a4c937c43d846e66b15dc926fb8d776 (patch)
tree6124191f3d143a1768b049614142b5a52323324b /sys/arch/mvme88k/conf/Makefile.mvme88k
parent50c901d35251f10d0ef363f25fa90a6555c0083f (diff)
Unifity CPPFLAGS= (using ${_mach}), SYSTEM_LD_TAIL= (always on one line),
and SRCS= (common files always after the \)
Diffstat (limited to 'sys/arch/mvme88k/conf/Makefile.mvme88k')
-rw-r--r--sys/arch/mvme88k/conf/Makefile.mvme88k9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/mvme88k/conf/Makefile.mvme88k b/sys/arch/mvme88k/conf/Makefile.mvme88k
index 372619bcab7..e9f4e77ac9c 100644
--- a/sys/arch/mvme88k/conf/Makefile.mvme88k
+++ b/sys/arch/mvme88k/conf/Makefile.mvme88k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme88k,v 1.56 2010/04/27 06:46:26 deraadt Exp $
+# $OpenBSD: Makefile.mvme88k,v 1.57 2010/04/27 16:54:54 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -25,7 +25,7 @@ _machdir?= $S/arch/${_mach}
_archdir?= $S/arch/${_arch}
INCLUDES= -nostdinc -I. -I$S -I$S/arch
-CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -Dmvme88k -Dm88k
+CPPFLAGS= ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL -D${_mach} -Dm88k
CWARNFLAGS= -Wall -Werror -Wmissing-prototypes \
-Wno-uninitialized -Wno-format -Wno-main -Wstrict-prototypes \
-Wstack-larger-than-2047 -Wvariable-decl
@@ -85,7 +85,7 @@ SYSTEM_DEP= Makefile ${SYSTEM_OBJ}
SYSTEM_LD_HEAD= @rm -f $@
SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \
${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
-SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@;
+SYSTEM_LD_TAIL= @${SIZE} $@; chmod 755 $@
DEBUG?=
.if ${DEBUG} == "-g"
@@ -144,7 +144,8 @@ links:
sed 's,../.*/\(.*.o\),rm -f \1;ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink
-SRCS= param.c ioconf.c ${CFILES} ${SFILES}
+SRCS= \
+ param.c ioconf.c ${CFILES} ${SFILES}
depend:: .depend
.depend: ${SRCS} assym.h param.c ${DB_STRUCTINFO}