From: David Schleef Date: Thu, 12 Oct 2000 20:07:47 +0000 (+0000) Subject: fix rtlinux include file problems X-Git-Tag: r0_7_50~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4322123d1e81fc36bd6398ba1cd054c29640d8d5;p=comedi.git fix rtlinux include file problems --- diff --git a/Makefile.modbuild b/Makefile.modbuild index 26a65c7c..c802d329 100644 --- a/Makefile.modbuild +++ b/Makefile.modbuild @@ -51,6 +51,9 @@ CFLAGS += $(shell if $(CC) -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/ #CFLAGS += -include $(TOPDIR)/include/modbuild/config.h CFLAGS += -D__KERNEL__ -I $(TOPDIR)/include -I $(LINUXDIR)/include -I . CFLAGS += -D__MODBUILD__ +ifdef RTLDIR +CFLAGS += -I $(RTLDIR)/include +endif CONFIG_SHELL := sh diff --git a/scripts/dep.rtlinux b/scripts/dep.rtlinux index 7c544f94..0a651e8d 100755 --- a/scripts/dep.rtlinux +++ b/scripts/dep.rtlinux @@ -7,7 +7,7 @@ if [ "$CONFIG_RTL" != "" ];then read RTLDIR : ${RTLDIR:=/usr/src/rtl} echo RTLDIR=$RTLDIR >>.sourcedirs - (cd include;rm -f rtlinux;ln -s $RTLDIR/include rtlinux) +# (cd include;rm -f rtlinux;ln -s $RTLDIR/include rtlinux) fi