Pārlūkot izejas kodu

also symlink asm-$TARGET_ARCH if it exists

Mike Frysinger 20 gadi atpakaļ
vecāks
revīzija
bff338fd9a
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  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;