fix rtlinux include file problems
authorDavid Schleef <ds@schleef.org>
Thu, 12 Oct 2000 20:07:47 +0000 (20:07 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 12 Oct 2000 20:07:47 +0000 (20:07 +0000)
Makefile.modbuild
scripts/dep.rtlinux

index 26a65c7c20fd692b06023159c1898294c0da5504..c802d329caea34ab1c4e53b0940df7de0f953fe9 100644 (file)
@@ -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
 
index 7c544f94ba84db0be492a698ad4eeaddd41f8091..0a651e8dee0a30d5b76e4e44c71947fd8999b08d 100755 (executable)
@@ -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