svn commit: r303915 - head/sys/tools
Ruslan Bukin
br at FreeBSD.org
Wed Aug 10 13:49:18 UTC 2016
Author: br
Date: Wed Aug 10 13:49:17 2016
New Revision: 303915
URL: https://svnweb.freebsd.org/changeset/base/303915
Log:
Consider CROSS_BINUTILS_PREFIX environment variable so we use correct
objdump.
Sponsored by: DARPA, AFRL
Sponsored by: HEIF5
Modified:
head/sys/tools/embed_mfs.sh
Modified: head/sys/tools/embed_mfs.sh
==============================================================================
--- head/sys/tools/embed_mfs.sh Wed Aug 10 13:47:12 2016 (r303914)
+++ head/sys/tools/embed_mfs.sh Wed Aug 10 13:49:17 2016 (r303915)
@@ -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
More information about the svn-src-head
mailing list