diff options
author | marcel <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-11-14 13:54:44 +0000 |
commit | 17ed6e05da9e78604972eb2120615a505953fd25 (patch) | |
tree | 571f4f72304b0d631bd6808faace186b95d27a21 /share | |
parent | 281ba43ee5ba4c4ff8ac1085144a3d1d7c550386 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | share/mk/bsd.obj.mk | 4 | ||||
-rw-r--r-- | share/mk/bsd.subdir.mk | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk index 9d22d75..b648222 100644 --- a/share/mk/bsd.obj.mk +++ b/share/mk/bsd.obj.mk @@ -151,8 +151,8 @@ _SUBDIR: .USE .if defined(SUBDIR) && !empty(SUBDIR) @for entry in ${SUBDIR}; do \ (${ECHODIR} "===> ${DIRPRFX}$$entry"; \ - if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \ - cd ${.CURDIR}/$${entry}.${MACHINE}; \ + if test -d ${.CURDIR}/$${entry}.${MACHINE_ARCH}; then \ + cd ${.CURDIR}/$${entry}.${MACHINE_ARCH}; \ else \ cd ${.CURDIR}/$${entry}; \ fi; \ 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; \ |