INSTALLDIR=/usr
-#LINUXDIR = /usr/src/linux
-LINUXDIR = /d/ds/cvs/rtl/linux22
+LINUXDIR = /usr/src/linux
+#LINUXDIR = /d/ds/cvs/rtl/linux22
#LINUXDIR = /d/ds/cvs/linux22
# define the following if you want to compile using RTL
modules: $(patsubst %, _mod_%, $(SUBDIRS))
$(patsubst %, _mod_%, $(SUBDIRS)) : dummy
+ -mkdir modules
$(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules
clean:
rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \
-o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \
-o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS
- -rm -f modules/*
+ -rm -rf modules
rm -f .config .uts_version include/config.h
include $(TOPDIR)/Rules.make
endif
range-y := range.c
+range-$(CONFIG_COMEDI_DT2801) += drivers/dt2801.c
range-$(CONFIG_COMEDI_DT2811) += drivers/dt2811.c
range-$(CONFIG_COMEDI_DT2815) += drivers/dt2815.c
range-$(CONFIG_COMEDI_DT282x) += drivers/dt282x.c