From f345efdfb49d31eeac6aef141f17f31ffeda06ba Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 14 May 2003 18:00:13 +0000 Subject: [PATCH] Patch from "Calin A. Culianu" --- scripts/dep.rtlinux | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/dep.rtlinux b/scripts/dep.rtlinux index bf330ff1..9db852bc 100755 --- a/scripts/dep.rtlinux +++ b/scripts/dep.rtlinux @@ -10,6 +10,8 @@ if [ "$CONFIG_RTL" != "" -o "$CONFIG_RTL_V1" = "y" ]; then echo You appear to be running an RTL-patched kernel default=${RTLDIR:=/usr/src/rtl} +STOPASKING="" +while [ -z "$STOPASKING" ]; do if [ "${interactive}" = "y" ];then echo -n "Enter location of RTL source tree [$default]: " read RTLDIR @@ -18,6 +20,10 @@ if [ "$CONFIG_RTL" != "" -o "$CONFIG_RTL_V1" = "y" ]; then if [ -d ${RTLDIR}/include ];then echo RTLDIR=$RTLDIR >>.buildvars echo CFLAGS += -I $RTLDIR/include -I $RTLDIR/include/compat -I $RTLDIR/include/posix -D__RT__ >>.buildvars + STOPASKING="1" + else + echo "$RTLDIR does not contain an include/ subdirectory. Try again!" fi +done export RTLDIR fi -- 2.26.2