blob: ebb5a669537613645bcdc12489789479d449aa9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- drbd-0.7.6/drbd/Makefile.chris 2004-12-15 06:26:37.977601576 +0100
+++ drbd-0.7.6/drbd/Makefile 2004-12-15 06:27:02.997797928 +0100
@@ -154,12 +154,12 @@
# install -d $(PREFIX)/var/lib/drbd
install -d $(PREFIX)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
install -m 644 $(MODOBJ) $(PREFIX)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
- ifeq ($(shell uname -r),$(KERNELRELEASE))
- /sbin/depmod -a || /sbin/depmod -e $(MODOBJ) 2>&1 >/dev/null || true
- else
- [ -e $(LINUX)/System.map ] && \
- /sbin/depmod -F $(LINUX)/System.map -e ./$(MODOBJ) 2>&1 >/dev/null || true
- endif
+# ifeq ($(shell uname -r),$(KERNELRELEASE))
+# /sbin/depmod -a || /sbin/depmod -e $(MODOBJ) 2>&1 >/dev/null || true
+# else
+# [ -e $(LINUX)/System.map ] && \
+# /sbin/depmod -F $(LINUX)/System.map -e ./$(MODOBJ) 2>&1 >/dev/null || true
+# endif
else
install:
@echo "No .kernelrelease found. Do you need to 'make' the module first?"
|