summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.subdir.mk
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 /share/mk/bsd.subdir.mk
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 'share/mk/bsd.subdir.mk')
-rw-r--r--share/mk/bsd.subdir.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/bsd.subdir.mk b/share/mk/bsd.subdir.mk
index 4c51ceb..b75b084 100644
--- a/share/mk/bsd.subdir.mk
+++ b/share/mk/bsd.subdir.mk
@@ -61,10 +61,10 @@ _SUBDIRUSE: .USE
grep -w $${entry} \
${SUBDIR_CHANGE}/${DIRPRFX}/subdirdrop \
> /dev/null); then \
- if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
+ if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \
${ECHODIR} \
- "===> ${DIRPRFX}$${entry}.${MACHINE}"; \
- edir=$${entry}.${MACHINE}; \
+ "===> ${DIRPRFX}$${entry}.${MACHINE_ARCH}"; \
+ edir=$${entry}.${MACHINE_ARCH}; \
cd ${.CURDIR}/$${edir}; \
else \
${ECHODIR} "===> ${DIRPRFX}$$entry"; \
@@ -79,8 +79,8 @@ _SUBDIRUSE: .USE
done
${SUBDIR}::
- @if test -d ${.TARGET}.${MACHINE}; then \
- cd ${.CURDIR}/${.TARGET}.${MACHINE}; \
+ @if test -d ${.TARGET}.${MACHINE_ARCH}; then \
+ cd ${.CURDIR}/${.TARGET}.${MACHINE_ARCH}; \
else \
cd ${.CURDIR}/${.TARGET}; \
fi; \
OpenPOWER on IntegriCloud