summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-12-16 04:15:08 +0000
committerMichael Krufky <devnull@localhost>2005-12-16 04:15:08 +0000
commit4ba21606eeb7be186cf30b75ee8c4f3bc8163e10 (patch)
treef13b0f5d729fb6839c8dfc451a63d449dce88128 /v4l/Makefile
parent7eebd9507bd559c9100e7393ef99222f371ea2bc (diff)
downloadmediapointer-dvb-s2-4ba21606eeb7be186cf30b75ee8c4f3bc8163e10.tar.gz
mediapointer-dvb-s2-4ba21606eeb7be186cf30b75ee8c4f3bc8163e10.tar.bz2
fix 'make install' depmod -a ${KERNELRELEASE}
From: Michael Ditum <mike@mikeditum.co.uk> - fix 'make install' to work when building against kernels other than the currently running kernel version. /sbin/depmod -a ${KERNELRELEASE} Thanks to: Michael Ditum <mike@mikeditum.co.uk> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile6
1 files changed, 3 insertions, 3 deletions
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