OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037a01d
)
Let "$KERNEL_SOURCE/include/asm" be either a link or a directory.
author
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Sep 2003 12:49:01 +0000
(12:49 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Wed, 3 Sep 2003 12:49:01 +0000
(12:49 -0000)
extra/scripts/fix_includes.sh
patch
|
blob
|
history
diff --git
a/extra/scripts/fix_includes.sh
b/extra/scripts/fix_includes.sh
index
513cb2c
..
2318686
100755
(executable)
--- 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?";