[uClibc-cvs] uClibc/extra/scripts fix_includes.sh,1.1,1.2

Erik Andersen andersen at uclibc.org
Wed Sep 3 12:49:09 UTC 2003


Update of /var/cvs/uClibc/extra/scripts
In directory winder:/tmp/cvs-serv9756/extra/scripts

Modified Files:
	fix_includes.sh 
Log Message:
Let "$KERNEL_SOURCE/include/asm" be either a link or a directory. 


Index: fix_includes.sh
===================================================================
RCS file: /var/cvs/uClibc/extra/scripts/fix_includes.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- fix_includes.sh	1 Sep 2003 17:47:31 -0000	1.1
+++ fix_includes.sh	3 Sep 2003 12:49:01 -0000	1.2
@@ -78,15 +78,15 @@
     exit 1;
 fi;
 
-
 echo -e "\n"
 echo "Using kernel headers from $KVER for architecture '$TARGET_ARCH'"
 echo -e "\tprovided in directory $KERNEL_SOURCE"
 echo -e "\n"
 
 # Create a symlink to include/asm
+
 rm -f include/asm
-if [ ! -L "$KERNEL_SOURCE/include/asm" ]; then 
+if [ ! -d "$KERNEL_SOURCE/include/asm" ]; then 
     echo "";
     echo "The symlink $KERNEL_SOURCE/include/asm is missing\!";
     echo "Perhaps you forgot to configure your kernel source?";




More information about the uClibc-cvs mailing list