From 4ba21606eeb7be186cf30b75ee8c4f3bc8163e10 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Fri, 16 Dec 2005 04:15:08 +0000 Subject: fix 'make install' depmod -a ${KERNELRELEASE} From: Michael Ditum - fix 'make install' to work when building against kernels other than the currently running kernel version. /sbin/depmod -a ${KERNELRELEASE} Thanks to: Michael Ditum Signed-off-by: Michael Krufky --- v4l/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'v4l/Makefile') diff --git a/v4l/Makefile b/v4l/Makefile index c55d7b7c6..5eb9b41d0 100644 --- a/v4l/Makefile +++ b/v4l/Makefile @@ -338,7 +338,7 @@ v4l-install:: v4l-rminstall # -install -d $(KDIRUSB) # -install -m 644 -c $(inst_usb) $(KDIRUSB)/ - /sbin/depmod -a + /sbin/depmod -a ${KERNELRELEASE} dvb-install:: dvb-rminstall @echo -e "\nInstalling new DVB modules at corresponding Kernel dir..." @@ -378,7 +378,7 @@ dvb-install:: dvb-rminstall -install -d $(KDIR26)/dvb/ttusb-dec -install -m 644 -c $(inst_ttusb-dec) $(KDIR26)/dvb/ttusb-dec - /sbin/depmod -a + /sbin/depmod -a ${KERNELRELEASE} old-install:: rminstall @echo -e "\nInstalling new V4L modules at $(DEST)..." @@ -388,7 +388,7 @@ old-install:: rminstall -install -d $(DEST) -install -m 644 -c $(inst-m) $(DEST) - /sbin/depmod -a + /sbin/depmod -a ${KERNELRELEASE} rminstall:: v4l-rminstall dvb-rminstall -- cgit v1.2.3