diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-27 05:05:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-04-27 05:05:23 +0000 |
commit | 1b69978d60a42b9aa2d17f80177786b00ba98262 (patch) | |
tree | 9ba5bf3ff063763b40e9d34bea27e1261665e4f0 /sys/arch/mvmeppc/conf/Makefile.mvmeppc | |
parent | 95c0b1557b471ebea0eee6d72753f60d88719eb3 (diff) |
over the years we have moved to a machine+architectures scheme that has
two directories. in reality, because of how we place files, it has four:
.../arch/A, .../arch/A/A, .../arch/M, and .../arch/M/M
formalize this A/A and M/M scheme directly in the Makefiles, which makes
them a lot more similar
drahn likes the idea a lot
Diffstat (limited to 'sys/arch/mvmeppc/conf/Makefile.mvmeppc')
-rw-r--r-- | sys/arch/mvmeppc/conf/Makefile.mvmeppc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/mvmeppc/conf/Makefile.mvmeppc b/sys/arch/mvmeppc/conf/Makefile.mvmeppc index 64b23b65a63..1fad38a7acc 100644 --- a/sys/arch/mvmeppc/conf/Makefile.mvmeppc +++ b/sys/arch/mvmeppc/conf/Makefile.mvmeppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.mvmeppc,v 1.37 2010/04/27 04:31:47 deraadt Exp $ +# $OpenBSD: Makefile.mvmeppc,v 1.38 2010/04/27 05:05:21 deraadt Exp $ # This makefile is constructed from a machine description: # config machineid @@ -155,11 +155,11 @@ links: sed 's,../.*/\(.*.o\),rm -f \1; ln -s ../GENERIC/\1 \1,' > makelinks sh makelinks && rm -f dontlink -SRCS= ${_machdir}/mvmeppc/locore.S \ +SRCS= ${_machdir}/${_mach}/locore.S \ param.c ioconf.c ${CFILES} ${SFILES} depend:: .depend .depend: ${SRCS} assym.h param.c ${DB_STRUCTINFO} - ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${_machdir}/mvmeppc/locore.S + ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${_machdir}/${_mach}/locore.S ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} .if ${SFILES} != "" ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} @@ -175,7 +175,7 @@ db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.awk objdump -g db_structinfo.o | awk -f $S/ddb/parse_structinfo.awk > $@ rm -f db_structinfo.o -locore.o: ${_machdir}/mvmeppc/locore.S assym.h +locore.o: ${_machdir}/${_mach}/locore.S assym.h ${NORMAL_S} # The install target can be redefined by putting a |