summaryrefslogtreecommitdiff
path: root/sys/arch/zaurus
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/zaurus
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/zaurus')
-rw-r--r--sys/arch/zaurus/conf/Makefile.zaurus8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/zaurus/conf/Makefile.zaurus b/sys/arch/zaurus/conf/Makefile.zaurus
index 08548644b6f..61f6942b2c1 100644
--- a/sys/arch/zaurus/conf/Makefile.zaurus
+++ b/sys/arch/zaurus/conf/Makefile.zaurus
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.zaurus,v 1.25 2010/04/27 15:33:08 deraadt Exp $
+# $OpenBSD: Makefile.zaurus,v 1.26 2010/04/27 16:43:41 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