INSTALLDIR_DEV=$(DESTDIR)/usr/realtime/
+install: modules_install
+
install_dev:
install -d $(INSTALLDIR_DEV)/include
install -m 644 include/linux/comedi.h $(INSTALLDIR_DEV)/include
-mknod -m 666 /dev/comedi2 c 98 2
-mknod -m 666 /dev/comedi3 c 98 3
+devices.txt: drivers.txt
+drivers.txt: dummy
+ (for each in comedi/drivers/*.c;do scripts/dump_doc $$each;done >drivers.txt)
+ scripts/doc_devlist drivers.txt >devices.txt
+
multi-objs := $(foreach m, $(multi-used), $($(basename $(m))-objs))
active-objs := $(sort $(multi-objs) $(obj-y) $(obj-m))
-ifdef CONFIG_MODVERSIONS
+ifdef never_generate_CONFIG_MODVERSIONS
ifneq "$(strip $(export-objs))" ""
MODINCL = $(TOPDIR)/include/linux/modules
else
$(TOPDIR)/include/linux/modversions.h:
- @echo "#include <linux/modsetver.h>" > $@
+# @echo "#include <linux/modsetver.h>" > $@
endif # CONFIG_MODVERSIONS