浏览代码

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;