summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
committermarcel <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
commit17ed6e05da9e78604972eb2120615a505953fd25 (patch)
tree571f4f72304b0d631bd6808faace186b95d27a21 /Makefile.inc1
parent281ba43ee5ba4c4ff8ac1085144a3d1d7c550386 (diff)
downloadFreeBSD-src-17ed6e05da9e78604972eb2120615a505953fd25.zip
FreeBSD-src-17ed6e05da9e78604972eb2120615a505953fd25.tar.gz
${MACHINE} -> ${MACHINE_ARCH}
All Makefiles now use MACHINE_ARCH for the target architecture. Unification is required for cross-building. Tags added to: sys/boot/Makefile sys/boot/arc/loader/Makefile sys/kern/Makefile usr.bin/cpp/Makefile usr.bin/gcore/Makefile usr.bin/truss/Makefile usr.bin/gcore/Makefile: fixed typo: MACHINDE -> MACHINE_ARCH
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index f16e669..f494ada 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -778,7 +778,7 @@ _elf2exe= usr.sbin/elf2exe
_kldlinux= sys/modules/linux
.endif
.if ${OBJFORMAT} == "aout"
-_netboot= sys/${MACHINE}/boot/netboot
+_netboot= sys/${MACHINE_ARCH}/boot/netboot
.endif
BTMAKEFLAGS= ${MK_FLAGS} -D_BUILD_TOOLS
@@ -921,7 +921,7 @@ legacy-build:
@echo "--------------------------------------------------------------"
@echo ">>> Building legacy boot"
@echo "--------------------------------------------------------------"
- cd ${.CURDIR}/sys/${MACHINE}/boot && \
+ cd ${.CURDIR}/sys/${MACHINE_ARCH}/boot && \
${XMAKE} -DNOMAN -B obj depend; ${XMAKE} -DNOMAN all;
.endif
@@ -960,7 +960,7 @@ legacy-install:
@echo "--------------------------------------------------------------"
@echo ">>> Installing legacy boot"
@echo "--------------------------------------------------------------"
- cd ${.CURDIR}/sys/${MACHINE}/boot && ${MAKE} -DNOMAN install
+ cd ${.CURDIR}/sys/${MACHINE_ARCH}/boot && ${MAKE} -DNOMAN install
.endif
.endif
OpenPOWER on IntegriCloud