summaryrefslogtreecommitdiff
path: root/extra/scripts/fix_includes.sh
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-09-03 12:49:01 +0000
committerEric Andersen <andersen@codepoet.org>2003-09-03 12:49:01 +0000
commit6337d5cb970b9da9183c1cd3e5812c9df3d8224b (patch)
tree405a11943545f20810e081a6e2cb3f64749127db /extra/scripts/fix_includes.sh
parent037a01de617369e98025df7188da01dbe443d58d (diff)
Let "$KERNEL_SOURCE/include/asm" be either a link or a directory.
Diffstat (limited to 'extra/scripts/fix_includes.sh')
-rwxr-xr-xextra/scripts/fix_includes.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/scripts/fix_includes.sh b/extra/scripts/fix_includes.sh
index 513cb2c70..2318686ed 100755
--- a/extra/scripts/fix_includes.sh
+++ b/extra/scripts/fix_includes.sh
@@ -78,15 +78,15 @@ if [ -z "$KVER" ] ; then
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?";