summaryrefslogtreecommitdiff
path: root/extra/scripts
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-29 00:17:40 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-29 00:17:40 +0000
commitbff338fd9af42403f1146d91361357c399750c21 (patch)
treeb7f8db7dc68fae402bdee8671798d0c54392bb13 /extra/scripts
parent2fec0b7cc23ac7fa24376726ffdbc06884df2cfe (diff)
also symlink asm-$TARGET_ARCH if it exists
Diffstat (limited to 'extra/scripts')
-rwxr-xr-xextra/scripts/fix_includes.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index 4930ff7e5..a57e4f253 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -165,6 +165,9 @@ if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
else
# No guessing required.....
ln -fs $KERNEL_SOURCE/include/asm include/asm
+if [ -e $KERNEL_SOURCE/include/asm-$TARGET_ARCH ] ; then
+ln -fs $KERNEL_SOURCE/include/asm-$TARGET_ARCH include/asm-$TARGET_ARCH
+fi
fi;