Browse Source

also symlink asm-$TARGET_ARCH if it exists

Mike Frysinger 20 years ago
parent
commit
bff338fd9a
1 changed files with 3 additions and 0 deletions
  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;