projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50dc9c8
)
Simple patch to get Comedi to compile with the experimential version of RTAI.
author
David Schleef
<ds@schleef.org>
Wed, 2 Jul 2003 22:58:01 +0000
(22:58 +0000)
committer
David Schleef
<ds@schleef.org>
Wed, 2 Jul 2003 22:58:01 +0000
(22:58 +0000)
scripts/dep.rtai
patch
|
blob
|
history
diff --git
a/scripts/dep.rtai
b/scripts/dep.rtai
index 7e13864e7848c5642fe8f02e856ddf0b9629804d..46ff84d7782b902259507d1a9cf586ae77b510e4 100755
(executable)
--- a/
scripts/dep.rtai
+++ b/
scripts/dep.rtai
@@
-13,6
+13,12
@@
if [ "$CONFIG_RTHAL" != "" ];then
if [ -d ${RTAIDIR}/include ];then
echo RTAIDIR=$RTAIDIR >>.buildvars
echo CFLAGS += -I $RTAIDIR/include >>.buildvars
+ else
+ if [ -d ${RTAIDIR}/rtai-core/include ];then
+ echo RTAIDIR=$RTAIDIR >>.buildvars
+ echo CFLAGS += -I $RTAIDIR >>.buildvars
+ echo CFLAGS += -I $RTAIDIR/rtai-core/include >>.buildvars
+ fi
fi
export RTAIDIR
fi