소스 검색

make the fallback case smarter

Mike Frysinger 19 년 전
부모
커밋
64b2dfee96
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      extra/scripts/fix_includes.sh

+ 3 - 4
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;