summaryrefslogtreecommitdiff
path: root/extra/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'extra/scripts')
-rwxr-xr-xextra/scripts/fix_includes.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index efabb101c..465d567bf 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -160,9 +160,11 @@ fi;
# Annoyingly, 2.6.x kernel headers also need an include/asm-generic/ directory
+if [ ! -e include/asm-generic ] ; then
if [ $VERSION -eq 2 ] && [ $PATCHLEVEL -ge 6 ] ; then
ln -fs $KERNEL_SOURCE/include/asm-generic include/asm-generic
fi;
+fi
# Create the include/linux symlink.