diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-20 11:00:33 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-20 11:00:33 +0000 |
commit | 4e5efdff41d717b0a4d4ea2c0c0baed845ecd6e5 (patch) | |
tree | 64ea2af87f08ef57f803f8429de9fb78d90406ae /mk/tools | |
parent | 961f2e2499505888a4015775d81fbd444c6e1cd1 (diff) | |
download | pkgsrc-4e5efdff41d717b0a4d4ea2c0c0baed845ecd6e5.tar.gz |
Add readelf as tool, for only only the BSDs get it.
Diffstat (limited to 'mk/tools')
-rw-r--r-- | mk/tools/tools.DragonFly.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.FreeBSD.mk | 3 | ||||
-rw-r--r-- | mk/tools/tools.NetBSD.mk | 9 | ||||
-rw-r--r-- | mk/tools/tools.OpenBSD.mk | 3 |
4 files changed, 13 insertions, 5 deletions
diff --git a/mk/tools/tools.DragonFly.mk b/mk/tools/tools.DragonFly.mk index 4e300a225bc..e7419626633 100644 --- a/mk/tools/tools.DragonFly.mk +++ b/mk/tools/tools.DragonFly.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.DragonFly.mk,v 1.32 2007/07/28 01:21:15 joerg Exp $ +# $NetBSD: tools.DragonFly.mk,v 1.33 2007/08/20 11:00:33 joerg Exp $ # # System-supplied tools for the DragonFly operating system. @@ -65,6 +65,7 @@ TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd +TOOLS_PLATFORM.readelf?= /usr/bin/readelf TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff diff --git a/mk/tools/tools.FreeBSD.mk b/mk/tools/tools.FreeBSD.mk index b56c318d734..5c759a7214b 100644 --- a/mk/tools/tools.FreeBSD.mk +++ b/mk/tools/tools.FreeBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.FreeBSD.mk,v 1.30 2007/06/19 17:01:12 joerg Exp $ +# $NetBSD: tools.FreeBSD.mk,v 1.31 2007/08/20 11:00:33 joerg Exp $ # # System-supplied tools for the FreeBSD operating system. @@ -62,6 +62,7 @@ TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd +TOOLS_PLATFORM.readelf?= /usr/bin/readelf TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff diff --git a/mk/tools/tools.NetBSD.mk b/mk/tools/tools.NetBSD.mk index 6991653150c..3c2e635b61c 100644 --- a/mk/tools/tools.NetBSD.mk +++ b/mk/tools/tools.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.NetBSD.mk,v 1.38 2007/08/16 03:09:38 joerg Exp $ +# $NetBSD: tools.NetBSD.mk,v 1.39 2007/08/20 11:00:33 joerg Exp $ # # System-supplied tools for the NetBSD operating system. @@ -79,6 +79,11 @@ TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.pax?= /bin/pax TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd +.if empty(USE_CROSS_COMPILE:M[yY][eE][sS]) +TOOLS_PLATFORM.readelf?= /usr/bin/readelf +.else +TOOLS_PLATFORM.readelf?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-readelf +.endif TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff @@ -115,7 +120,7 @@ TOOLS_PLATFORM.xgettext?= /usr/bin/xgettext TOOLS_PLATFORM.yacc?= /usr/bin/yacc .if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) -.for _t_ in ar as ld nm objdump ranlib strip +.for _t_ in ar as ld nm objdump ranlib readelf strip TOOLS_PATH.${MACHINE_GNU_PLATFORM}-${_t_}?= \ ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-${_t_} TOOLS_CREATE+= ${MACHINE_GNU_PLATFORM}-${_t_} diff --git a/mk/tools/tools.OpenBSD.mk b/mk/tools/tools.OpenBSD.mk index 3ee76d745e7..6169b5df41e 100644 --- a/mk/tools/tools.OpenBSD.mk +++ b/mk/tools/tools.OpenBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: tools.OpenBSD.mk,v 1.30 2007/06/25 10:53:21 joerg Exp $ +# $NetBSD: tools.OpenBSD.mk,v 1.31 2007/08/20 11:00:33 joerg Exp $ # # System-supplied tools for the OpenBSD operating system. @@ -67,6 +67,7 @@ TOOLS_PLATFORM.openssl?= /usr/bin/openssl TOOLS_PLATFORM.patch?= /usr/bin/patch TOOLS_PLATFORM.printf?= /usr/bin/printf TOOLS_PLATFORM.pwd?= /bin/pwd +TOOLS_PLATFORM.readelf?= /usr/bin/readelf TOOLS_PLATFORM.rm?= /bin/rm TOOLS_PLATFORM.rmdir?= /bin/rmdir TOOLS_PLATFORM.sdiff?= /usr/bin/sdiff |