summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2010-09-21 07:03:53 +0000
committerthompsa <thompsa@FreeBSD.org>2010-09-21 07:03:53 +0000
commitd5c71e163fe6006befcb0b43110ef2c0157f00ac (patch)
treed36648ce49068adb1147a361f5e73604f6b0ce3a /sys/conf
parent585e6320d26e15f5dff4229f1a26ce1e355a6c11 (diff)
downloadFreeBSD-src-d5c71e163fe6006befcb0b43110ef2c0157f00ac.zip
FreeBSD-src-d5c71e163fe6006befcb0b43110ef2c0157f00ac.tar.gz
Fix the path to the sys dir when cross compiling after r209510.
Reviewed by: imp
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/newvers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index cabee5a..43862cd 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -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/*}
OpenPOWER on IntegriCloud