From: David Schleef Date: Sat, 1 Dec 2001 05:18:26 +0000 (+0000) Subject: Fix modversions, installation, drivers.txt targets. X-Git-Tag: r0_7_62~79 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0af11aa5c44d6ec91103d1992008cf96ca1db75b;p=comedi.git Fix modversions, installation, drivers.txt targets. --- diff --git a/Makefile b/Makefile index c7312980..b936dd7f 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,8 @@ include ./Makefile.modbuild 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 @@ -23,3 +25,8 @@ dev: -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 + diff --git a/Rules.make b/Rules.make index 26004fa7..3983da95 100644 --- a/Rules.make +++ b/Rules.make @@ -211,7 +211,7 @@ multi-used := $(filter $(list-multi), $(obj-y) $(obj-m)) 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 @@ -273,7 +273,7 @@ $(active-objs): $(TOPDIR)/include/linux/modversions.h else $(TOPDIR)/include/linux/modversions.h: - @echo "#include " > $@ +# @echo "#include " > $@ endif # CONFIG_MODVERSIONS