projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffe21da
)
handle errors when trying to get kernel flags
author
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 29 Dec 2004 02:57:50 +0000
(
02:57
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Wed, 29 Dec 2004 02:57:50 +0000
(
02:57
+0000)
m4/as-linux.m4
patch
|
blob
|
history
diff --git
a/m4/as-linux.m4
b/m4/as-linux.m4
index 31bf5db4fc007c8699fa967e0ef62aa33e0e8a10..d774476a4a4548e68e8264472295a26a0c12aabf 100644
(file)
--- a/
m4/as-linux.m4
+++ b/
m4/as-linux.m4
@@
-558,6
+558,10
@@
modules:
@echo LINUX_AS=\"\$(AS)\"
EOF
make -C ${LINUX_DIR} SUBDIRS=${tmpdir} modules | grep ^LINUX_ >${tmpdir}/ack
+ if (($?)); then
+ echo make modules with LINUX_DIR=$(LINUX_DIR) failed.
+ exit 1
+ fi
. ${tmpdir}/ack
rm -rf ${tmpdir}