diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-22 04:09:43 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-22 04:09:43 +0000 |
commit | 64b2dfee9682facaa7222b9960f327eac901fe31 (patch) | |
tree | 0bbeac04910fc19e55573ec9d989f8a3b8d15d0f /extra | |
parent | df9eee16830957ae58726ccd503631837d341d8b (diff) |
make the fallback case smarter
Diffstat (limited to 'extra')
-rwxr-xr-x | extra/scripts/fix_includes.sh | 7 |
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; |