diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
| commit | 0917704bd4360ecc5c28d8961534fab7228dd1ff (patch) | |
| tree | 571f4f72304b0d631bd6808faace186b95d27a21 /sys/boot/arc | |
| parent | 5d53601420282a042d1f2a120ba7f429371ef246 (diff) | |
Notes
Diffstat (limited to 'sys/boot/arc')
| -rw-r--r-- | sys/boot/arc/lib/Makefile | 4 | ||||
| -rw-r--r-- | sys/boot/arc/loader/Makefile | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/boot/arc/lib/Makefile b/sys/boot/arc/lib/Makefile index 023821cdae1f..a9c0e2d246cb 100644 --- a/sys/boot/arc/lib/Makefile +++ b/sys/boot/arc/lib/Makefile @@ -5,7 +5,7 @@ NOPIC= true NOPROFILE= true INTERNALLIB= true -.PATH: ${.CURDIR}/arch/${MACHINE} +.PATH: ${.CURDIR}/arch/${MACHINE_ARCH} # XXX hack to pick up stand.h LIBSTANDDIR= ${.CURDIR}/../../../../lib/libstand CFLAGS= -I${LIBSTANDDIR} @@ -22,7 +22,7 @@ CFLAGS+= -I${.CURDIR}/../../common -mno-fp-regs \ SRCS= delay.c time.c abort.c setjmperr.c copy.c devicename.c module.c \ arcconsole.c arcdisk.c elf_freebsd.c bootinfo.c -.if ${MACHINE} == "alpha" +.if ${MACHINE_ARCH} == "alpha" SRCS+= rpb.c .endif diff --git a/sys/boot/arc/loader/Makefile b/sys/boot/arc/loader/Makefile index 1fdb2c35a3f4..acbb066b9811 100644 --- a/sys/boot/arc/loader/Makefile +++ b/sys/boot/arc/loader/Makefile @@ -1,4 +1,5 @@ # $NetBSD: Makefile,v 1.12 1998/02/19 14:18:36 drochner Exp $ +# $FreeBSD$ BASE= loader PROG= ${BASE}.exe @@ -63,7 +64,7 @@ beforeinstall: .endif # Other fragments still to be brought in from ../Makfile.booters? -start.o: ${.CURDIR}/../lib/arch/${MACHINE}/start.S +start.o: ${.CURDIR}/../lib/arch/${MACHINE_ARCH}/start.S ${CC} -c ${CFLAGS} $< setdef0.o: setdefs.h |
