From 4322123d1e81fc36bd6398ba1cd054c29640d8d5 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 12 Oct 2000 20:07:47 +0000 Subject: [PATCH] fix rtlinux include file problems --- Makefile.modbuild | 3 +++ scripts/dep.rtlinux | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 -- 2.26.2