summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/conf
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-28 15:31:35 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-28 15:31:35 +0000
commitd84053c3b4e991c0de0c8ddb21e3298744f31dd8 (patch)
tree35304d4f70ea1e49004a29d3a7ada5c067dc1fa9 /sys/arch/sparc64/conf
parent4617413abdbd3a2cefa5268251f7604efebc659c (diff)
clean up more more subtle and stupid differences between the various
Makefile.* files
Diffstat (limited to 'sys/arch/sparc64/conf')
-rw-r--r--sys/arch/sparc64/conf/Makefile.sparc649
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/sparc64/conf/Makefile.sparc64 b/sys/arch/sparc64/conf/Makefile.sparc64
index 0716ea80cf1..d9f2c1365d4 100644
--- a/sys/arch/sparc64/conf/Makefile.sparc64
+++ b/sys/arch/sparc64/conf/Makefile.sparc64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc64,v 1.44 2010/04/27 16:54:54 deraadt Exp $
+# $OpenBSD: Makefile.sparc64,v 1.45 2010/04/28 15:31:34 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -52,7 +52,7 @@ HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
HOSTED_CFLAGS= ${CFLAGS}
# compile rules: rules are named ${TYPE}_${SUFFIX}${CONFIG_DEP}
-# where TYPE is NORMAL, DRIVER, or PROFILE}; SUFFIX is the file suffix,
+# where TYPE is NORMAL, or PROFILE}; SUFFIX is the file suffix,
# capitalized (e.g. C for a .c file), and CONFIG_DEP is _C if the file
# is marked as config-dependent.
@@ -60,9 +60,6 @@ NORMAL_C_NOP= ${CC} ${CFLAGS} ${CPPFLAGS} -c $<
NORMAL_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
NORMAL_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
-DRIVER_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
-DRIVER_C_C= ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} ${PARAM} -c $<
-
NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
NORMAL_S_C= ${CC} ${AFLAGS} ${CPPFLAGS} ${PARAM} -c $<
@@ -142,7 +139,7 @@ links:
echo ${CFILES} | tr -s ' ' '\12' | sed 's/\.c/.o/' | \
sort -u | comm -23 - dontlink | \
sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
- sh makelinks && rm -f dontlink
+ sh makelinks && rm -f dontlink makelinks
SRCS= ${_machdir}/${_mach}/locore.s \
param.c ioconf.c ${CFILES} ${SFILES}