aboutsummaryrefslogtreecommitdiff
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-11-14 13:54:44 +0000
commit0917704bd4360ecc5c28d8961534fab7228dd1ff (patch)
tree571f4f72304b0d631bd6808faace186b95d27a21 /Makefile.inc1
parent5d53601420282a042d1f2a120ba7f429371ef246 (diff)
downloadsrc-0917704bd4360ecc5c28d8961534fab7228dd1ff.tar.gz
src-0917704bd4360ecc5c28d8961534fab7228dd1ff.zip
${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
Notes
Notes: svn path=/head/; revision=53152
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 f16e669cc837..f494ada9ac44 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