summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-23 01:02:32 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-23 01:02:32 +0000
commit355c2405c2ce04f3a87fb7b11a87086f1d8c1870 (patch)
tree29625abff60423e30bb6671c319a0f7509e005af
parent88f5ee46c14360f75f59b6b6f222a92c3f1fa129 (diff)
dont generate asm-generic if it already exists
-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.