Permalink
Browse files

tools.NetBSD.mk: add objdump

This will be used for check/bsd.check.mk.
  • Loading branch information...
iamleot committed Jun 10, 2016
1 parent dd90471 commit d3d12b4d558718ea8434b4143664d6783bc18b7a
Showing with 5 additions and 0 deletions.
  1. +5 −0 mk/tools/tools.NetBSD.mk
View
@@ -85,6 +85,11 @@ TOOLS_PLATFORM.objcopy?= /usr/bin/objcopy
.else
TOOLS_PLATFORM.objcopy?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-objcopy
.endif
+.if empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+TOOLS_PLATFORM.objdump?= /usr/bin/objdump
+.else
+TOOLS_PLATFORM.objdump?= ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-objdump
+.endif
TOOLS_PLATFORM.openssl?= /usr/bin/openssl
TOOLS_PLATFORM.patch?= /usr/bin/patch
TOOLS_PLATFORM.pax?= /bin/pax

0 comments on commit d3d12b4

Please sign in to comment.