summaryrefslogtreecommitdiff
path: root/sys/arch/palm
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:43:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-04-27 16:43:43 +0000
commit084eadb7ab47f77e4f6dea94d3626b2b339f62de (patch)
treea43b70c6df4bf61898f423d58ca8db983fe4c8b6 /sys/arch/palm
parentdd42f700d9130d625243b36801652927d3e783ec (diff)
Use the form ${_archdir}/${_arch} to reach a few more places, unifying the
arm Makefiles a substantial step forward
Diffstat (limited to 'sys/arch/palm')
-rw-r--r--sys/arch/palm/conf/Makefile.palm8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/palm/conf/Makefile.palm b/sys/arch/palm/conf/Makefile.palm
index 781508448ef..7edb7502194 100644
--- a/sys/arch/palm/conf/Makefile.palm
+++ b/sys/arch/palm/conf/Makefile.palm
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.palm,v 1.12 2010/04/27 15:33:08 deraadt Exp $
+# $OpenBSD: Makefile.palm,v 1.13 2010/04/27 16:43:42 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -154,11 +154,11 @@ links:
sed 's,.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks
sh makelinks && rm -f dontlink makelinks
-SRCS= ${_archdir}/arm/locore.S \
+SRCS= ${_archdir}/${_arch}/locore.S \
param.c ioconf.c ${CFILES} ${SFILES}
depend:: .depend
.depend: ${SRCS} assym.h param.c ${DB_STRUCTINFO}
- ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${_archdir}/arm/locore.S
+ ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${_archdir}/${_arch}/locore.S
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
.if ${SFILES} != ""
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
@@ -177,7 +177,7 @@ db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.awk
${_mach}_start.o: ${_machdir}/${_mach}/${_mach}_start.S assym.h
${NORMAL_S}
-locore.o: ${_archdir}/arm/locore.S assym.h
+locore.o: ${_archdir}/${_arch}/locore.S assym.h
${NORMAL_S}
# The install target can be redefined by putting a