Advertisement
Guest User

0001-modue_install_fix.patch

a guest
Aug 13th, 2019
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.05 KB | None | 0 0
  1. --- zfs-linux-0.8.1.orig/module/Makefile.in 2019-08-13 09:42:27.924545523 +0200
  2. +++ zfs-linux-0.8.1/module/Makefile.in  2019-08-13 10:03:56.839011215 +0200
  3. @@ -1,11 +1,11 @@
  4. -subdir-m += avl
  5. -subdir-m += icp
  6. -subdir-m += lua
  7. -subdir-m += nvpair
  8. -subdir-m += spl
  9. -subdir-m += unicode
  10. -subdir-m += zcommon
  11. -subdir-m += zfs
  12. +obj-y += avl/
  13. +obj-y += icp/
  14. +obj-y += lua/
  15. +obj-y += nvpair/
  16. +obj-y += spl/
  17. +obj-y += unicode/
  18. +obj-y += zcommon/
  19. +obj-y += zfs/
  20.  
  21.  INSTALL_MOD_DIR ?= extra
  22.  
  23. @@ -60,12 +60,12 @@
  24.  modules_uninstall:
  25.     @# Uninstall the kernel modules
  26.     kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@
  27. -   list='$(subdir-m)'; for subdir in $$list; do \
  28. +   list='$(obj-y)'; for subdir in $$list; do \
  29.         $(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$subdir; \
  30.     done
  31.  
  32.  distdir:
  33. -   list='$(subdir-m)'; for subdir in $$list; do \
  34. +   list='$(obj-y)'; for subdir in $$list; do \
  35.         (cd @top_srcdir@/module && find $$subdir \
  36.         -name '*.c' -o -name '*.h' -o -name '*.S' | \
  37.         xargs cp --parents -t @abs_top_builddir@/module/$$distdir); \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement