summaryrefslogtreecommitdiff
path: root/extra/scripts/fix_includes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scripts/fix_includes.sh')
-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;