aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-08-10 13:49:17 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-08-10 13:49:17 +0000
commit3cd77f54168a5cb4b6f65fb685360b51c5b9ae40 (patch)
treec9f128c45ba2868d20fd225d468e5334b7fd917d
parent49c394a9708052882cb296a2d5ed4bf95e662456 (diff)
downloadsrc-3cd77f54168a5cb4b6f65fb685360b51c5b9ae40.tar.gz
src-3cd77f54168a5cb4b6f65fb685360b51c5b9ae40.zip
Consider CROSS_BINUTILS_PREFIX environment variable so we use correct
objdump. Sponsored by: DARPA, AFRL Sponsored by: HEIF5
Notes
Notes: svn path=/head/; revision=303915
-rw-r--r--sys/tools/embed_mfs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/tools/embed_mfs.sh b/sys/tools/embed_mfs.sh
index 3f20257b7a58..66c50c2da111 100644
--- a/sys/tools/embed_mfs.sh
+++ b/sys/tools/embed_mfs.sh
@@ -36,7 +36,7 @@ mfs_size=`stat -f '%z' $2 2> /dev/null`
# If we can't determine MFS image size - bail.
[ -z ${mfs_size} ] && echo "Can't determine MFS image size" && exit 1
-sec_info=`objdump -h $1 2> /dev/null | grep " oldmfs "`
+sec_info=`${CROSS_BINUTILS_PREFIX}objdump -h $1 2> /dev/null | grep " oldmfs "`
# If we can't find the mfs section within the given kernel - bail.
[ -z "${sec_info}" ] && echo "Can't locate mfs section within kernel" && exit 1