projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0124f20
)
added an error check that catches common case of 'make config' failing to
author
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 30 May 2003 00:23:48 +0000
(
00:23
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Fri, 30 May 2003 00:23:48 +0000
(
00:23
+0000)
get compile flags from kernel source.
scripts/dep.linux
patch
|
blob
|
history
diff --git
a/scripts/dep.linux
b/scripts/dep.linux
index 66a29d132c9cfcd29711296e54ebb5271791c654..95d261c88162cb1c49de8129e7100b5f9c7da933 100755
(executable)
--- a/
scripts/dep.linux
+++ b/
scripts/dep.linux
@@
-81,6
+81,10
@@
topdir=$(pwd)
cd ${topdir}/scripts/linux_flags
make LINUXDIR=${LINUXDIR}
+if [ $? != 0 ]; then
+ echo "make in linux source directory failed, do you have write permission?"
+ exit $?
+fi
cd ${topdir}
mv scripts/linux_flags/flags .buildvars