From 355c2405c2ce04f3a87fb7b11a87086f1d8c1870 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Feb 2006 01:02:32 +0000 Subject: dont generate asm-generic if it already exists --- extra/scripts/fix_includes.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extra') 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. -- cgit v1.2.3