/usr/bin/mig is in tinyos-tools 1.4.2-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
# Copyright (c) 2005 Intel Corporation
# All rights reserved.
#
# This file is distributed under the terms in the attached INTEL-LICENSE     
# file. If you do not find these files, copies can be found by writing to
# Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA, 
# 94704.  Attention:  Intel License Inquiry.
prefix="/usr";
exec_prefix="${prefix}";
exec "/usr/bin/nescc-mig" "-nescc=$exec_prefix/bin/ncc" "$@"
err=$?
echo "Couldn't execute /usr/bin/nescc-mig" >&2
exit $err
 |