소스 검색

also symlink asm-$TARGET_ARCH if it exists

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

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