summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/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/socppc/conf
parent4617413abdbd3a2cefa5268251f7604efebc659c (diff)
clean up more more subtle and stupid differences between the various
Makefile.* files
Diffstat (limited to 'sys/arch/socppc/conf')
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc9
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index d2d2b8a1282..26a855d4982 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.18 2010/04/27 17:25:19 drahn Exp $
+# $OpenBSD: Makefile.socppc,v 1.19 2010/04/28 15:31:33 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -51,7 +51,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.
@@ -59,9 +59,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= ${AS} ${COPTS} ${PARAM} $< -o $@
@@ -139,7 +136,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}