endif
oldconfig: dummy
- $(CONFIG_SHELL) ./configure --old
+ env -i $(CONFIG_SHELL) ./configure --old
+#configure is called through env -i to prevent loading of variables from stale LINUXDIR
config: dummy
- $(CONFIG_SHELL) ./configure
+ env -i $(CONFIG_SHELL) ./configure --linuxdir $(LINUXDIR)
modules_install: $(patsubst %, _modinst_%, $(SUBDIRS))
depmod -a
comment 'Comedi Features'
+CONFIG_COMEDI_RT=n
if [ "$CONFIG_RTL" = "y" ];then
bool 'Real-time support' CONFIG_COMEDI_RTL
if [ "$CONFIG_COMEDI_RTL" = "y" ];then
- define_bool CONFIG_COMEDI_RT y
+ CONFIG_COMEDI_RT=y
fi
fi
if [ "$CONFIG_RTL_V1" = "y" ];then
bool 'Real-time v1 support' CONFIG_COMEDI_RTL_V1
if [ "$CONFIG_COMEDI_RTL_V1" = "y" ];then
- define_bool CONFIG_COMEDI_RT y
+ CONFIG_COMEDI_RT=y
fi
fi
if [ "$CONFIG_RTHAL" = "y" ];then
bool 'Real-time support' CONFIG_COMEDI_RTAI
if [ "$CONFIG_COMEDI_RTAI" = "y" ];then
- define_bool CONFIG_COMEDI_RT y
+ CONFIG_COMEDI_RT=y
fi
fi
if [ "$CONFIG_PRIORITY_IRQ" = "y" ];then
bool 'Real-time support' CONFIG_COMEDI_PIRQ
if [ "$CONFIG_COMEDI_PIRQ" = "y" ];then
- define_bool CONFIG_COMEDI_RT y
+ CONFIG_COMEDI_RT=y
fi
fi
+define_bool CONFIG_COMEDI_RT $CONFIG_COMEDI_RT
bool 'Verbose Debugging' CONFIG_COMEDI_DEBUG