Fix the path to the sys dir when cross compiling after r209510.

Reviewed by:	imp
This commit is contained in:
thompsa 2010-09-21 07:03:53 +00:00
parent 585e6320d2
commit d5c71e163f

View File

@ -91,7 +91,7 @@ case "$d" in
*/sys/*)
SRCDIR=${d##*obj}
if [ -n "$MACHINE" ]; then
SRCDIR=${SRCDIR##/$MACHINE}
SRCDIR=${SRCDIR##/$MACHINE.$MACHINE_ARCH}
fi
SRCDIR=${SRCDIR%%/sys/*}