| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: tools.NetBSD.mk,v 1.59 2016/11/10 20:58:46 joerg Exp $ | | 1 | # $NetBSD: tools.NetBSD.mk,v 1.59.4.1 2017/05/01 09:00:34 bsiegert Exp $ |
2 | # | | 2 | # |
3 | # System-supplied tools for the NetBSD operating system. | | 3 | # System-supplied tools for the NetBSD operating system. |
4 | | | 4 | |
5 | TOOLS_PLATFORM.[?= [ # shell builtin | | 5 | TOOLS_PLATFORM.[?= [ # shell builtin |
6 | TOOLS_PLATFORM.awk?= /usr/bin/awk | | 6 | TOOLS_PLATFORM.awk?= /usr/bin/awk |
7 | TOOLS_PLATFORM.basename?= /usr/bin/basename | | 7 | TOOLS_PLATFORM.basename?= /usr/bin/basename |
8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc | | 8 | TOOLS_PLATFORM.byacc?= /usr/bin/yacc |
9 | .if exists(/usr/bin/bzcat) | | 9 | .if exists(/usr/bin/bzcat) |
10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat | | 10 | TOOLS_PLATFORM.bzcat?= /usr/bin/bzcat |
11 | .endif | | 11 | .endif |
12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 | | 12 | TOOLS_PLATFORM.bzip2?= /usr/bin/bzip2 |
13 | TOOLS_PLATFORM.cat?= /bin/cat | | 13 | TOOLS_PLATFORM.cat?= /bin/cat |
14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp | | 14 | TOOLS_PLATFORM.chgrp?= /usr/bin/chgrp |
| @@ -79,28 +79,27 @@ TOOLS_PLATFORM.msgconv?= /usr/bin/msgcon | | | @@ -79,28 +79,27 @@ TOOLS_PLATFORM.msgconv?= /usr/bin/msgcon |
79 | .if exists(/usr/bin/msgfmt) | | 79 | .if exists(/usr/bin/msgfmt) |
80 | TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt | | 80 | TOOLS_PLATFORM.msgfmt?= /usr/bin/msgfmt |
81 | .endif | | 81 | .endif |
82 | .if exists(/usr/bin/msgmerge) | | 82 | .if exists(/usr/bin/msgmerge) |
83 | TOOLS_PLATFORM.msgmerge?= /usr/bin/msgmerge | | 83 | TOOLS_PLATFORM.msgmerge?= /usr/bin/msgmerge |
84 | .endif | | 84 | .endif |
85 | TOOLS_PLATFORM.mtree?= /usr/sbin/mtree | | 85 | TOOLS_PLATFORM.mtree?= /usr/sbin/mtree |
86 | TOOLS_PLATFORM.mv?= /bin/mv | | 86 | TOOLS_PLATFORM.mv?= /bin/mv |
87 | TOOLS_PLATFORM.nice?= /usr/bin/nice | | 87 | TOOLS_PLATFORM.nice?= /usr/bin/nice |
88 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff | | 88 | TOOLS_PLATFORM.nroff?= /usr/bin/nroff |
89 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl | | 89 | TOOLS_PLATFORM.openssl?= /usr/bin/openssl |
90 | TOOLS_PLATFORM.patch?= /usr/bin/patch | | 90 | TOOLS_PLATFORM.patch?= /usr/bin/patch |
91 | TOOLS_PLATFORM.pax?= /bin/pax | | 91 | TOOLS_PLATFORM.pax?= /bin/pax |
92 | .if empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-386) || \ | | 92 | .if exists(/usr/sbin/paxctl) |
93 | empty(MACHINE_PLATFORM:MNetBSD-[^0-3].*-x86_64) | | | |
94 | TOOLS_PLATFORM.paxctl?= /usr/sbin/paxctl | | 93 | TOOLS_PLATFORM.paxctl?= /usr/sbin/paxctl |
95 | .endif | | 94 | .endif |
96 | TOOLS_PLATFORM.printf?= /usr/bin/printf | | 95 | TOOLS_PLATFORM.printf?= /usr/bin/printf |
97 | TOOLS_PLATFORM.pwd?= /bin/pwd | | 96 | TOOLS_PLATFORM.pwd?= /bin/pwd |
98 | .if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) | | 97 | .if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) |
99 | TOOLS_PLATFORM.readelf?= /usr/bin/readelf | | 98 | TOOLS_PLATFORM.readelf?= /usr/bin/readelf |
100 | .else | | 99 | .else |
101 | TOOLS_PLATFORM.readelf?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf | | 100 | TOOLS_PLATFORM.readelf?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf |
102 | .endif | | 101 | .endif |
103 | TOOLS_PLATFORM.readlink?= /usr/bin/readlink | | 102 | TOOLS_PLATFORM.readlink?= /usr/bin/readlink |
104 | TOOLS_PLATFORM.rm?= /bin/rm | | 103 | TOOLS_PLATFORM.rm?= /bin/rm |
105 | TOOLS_PLATFORM.rmdir?= /bin/rmdir | | 104 | TOOLS_PLATFORM.rmdir?= /bin/rmdir |
106 | TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff | | 105 | TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff |