Files
gentoo/sci-libs/linux-gpib-modules/files/linux-gpib-modules-4.3.7-depmod.patch
Andreas K. Hüttel 32f7342219 sci-libs/linux-gpib-modules: add 4.3.7
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2025-10-06 21:01:08 +02:00

23 lines
684 B
Diff

Depmod fails here since we're still in DESTDIR and the actual target path may
not exist...
diff --git a/Makefile b/Makefile
index 356bba54..8f5b4b63 100644
--- a/Makefile
+++ b/Makefile
@@ -27,13 +27,9 @@ clean:
M="$(GPIB_SRCDIR)/drivers/gpib" \
GPIB_TOP_DIR=$(GPIB_SRCDIR)
-#We run depmod explicitly because the depmod.sh script run
-#by modules_install fails on Debian due to it failing to find
-#the System.map file.
install:
$(MAKE) -C $(LINUX_SRCDIR) V=$(VERBOSE) modules_install\
M="$(GPIB_SRCDIR)/drivers/gpib" \
GPIB_TOP_DIR=$(GPIB_SRCDIR) \
INSTALL_MOD_DIR=gpib
- /sbin/depmod -A