From 64b2dfee9682facaa7222b9960f327eac901fe31 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 22 Feb 2006 04:09:43 +0000 Subject: make the fallback case smarter --- extra/scripts/fix_includes.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'extra') 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; -- cgit v1.2.3