summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-22 04:09:43 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-22 04:09:43 +0000
commit64b2dfee9682facaa7222b9960f327eac901fe31 (patch)
tree0bbeac04910fc19e55573ec9d989f8a3b8d15d0f /extra
parentdf9eee16830957ae58726ccd503631837d341d8b (diff)
make the fallback case smarter
Diffstat (limited to 'extra')
-rwxr-xr-xextra/scripts/fix_includes.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index c175b3139..efabb101c 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -153,10 +153,9 @@ if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then
fi;
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
+for x in $KERNEL_SOURCE/include/asm* ; do
+ ln -fs ${x} include/
+done
fi;