--- module/Makefile.in | 9 --------- 1 file changed, 9 deletions(-) Index: z/module/Makefile.in =================================================================== --- z.orig/module/Makefile.in +++ z/module/Makefile.in @@ -93,21 +93,12 @@ modules_install-Linux: modules_uninstall $(if @KERNEL_ARCH@,ARCH=@KERNEL_ARCH@) \ KERNELRELEASE=@LINUX_VERSION@ @# Remove extraneous build products when packaging - if [ -n "$(DESTDIR)" ] && [ "$(DONT_DELETE_MODULES_FILES)" != "1" ]; then \ - find $(KMODDIR) -name 'modules.*' -delete; \ - fi @# Debian ships tiny fake System.map files that are @# syntactically valid but just say @# "if you want system.map go install this package" @# Naturally, depmod is less than amused by this. @# So if we find it missing or with one of these present, @# we check for the alternate path for the System.map - sysmap=$(INSTALL_MOD_PATH)/boot/System.map-@LINUX_VERSION@; \ - { [ -f "$$sysmap" ] && [ $$(wc -l < "$$sysmap") -ge 100 ]; } || \ - sysmap=$(INSTALL_MOD_PATH)/usr/lib/debug/boot/System.map-@LINUX_VERSION@; \ - if [ -f $$sysmap ]; then \ - depmod -ae -F $$sysmap @LINUX_VERSION@ -b $(INSTALL_MOD_PATH)/; \ - fi modules_install-FreeBSD: @# Install the kernel modules