OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.7 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../lazyfs/install.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. --- ./Makefile.in.orig 2005-04-24 22:51:22.000000000 +0200
  17. +++ ./Makefile.in 2005-04-24 22:54:40.000000000 +0200
  18. @@ -13,7 +13,7 @@
  19. VPATH = @srcdir@
  20. ROOT_PREFIX = @ROOT_PREFIX@
  21. KERNEL_VERSION = @KERNEL_VERSION@
  22. -MODULEDIR = $(ROOT_PREFIX)/lib/modules/${KERNEL_VERSION}/kernel/fs/lazyfs
  23. +MODULEDIR = $(DESTDIR)/lib/modules/${KERNEL_VERSION}/kernel/fs/lazyfs
  24. ifeq ($(KERNEL_TYPE), Linux_2_6)
  25. KOBJECT = ko
  26. @@ -36,19 +36,9 @@
  27. MODFLAGS := -DMODULE -D__KERNEL__
  28. install: lazyfs@COMMA_VERSION@.$(KOBJECT)
  29. + @echo Installing to ${MODULEDIR}
  30. mkdir -p ${MODULEDIR}
  31. - [ -n "${ROOT_PREFIX}" ] || ${MAKE} real-install
  32. -
  33. -real-install:
  34. - @echo Installing to ${ROOT_PREFIX}/lib/modules/${KERNEL_VERSION}
  35. - @echo "(current kernel uses $(ROOT_PREFIX)/lib/modules/`uname -r`)"
  36. cp lazyfs@COMMA_VERSION@.$(KOBJECT) ${MODULEDIR}/
  37. - /sbin/depmod -a
  38. - @echo
  39. - @echo '*** Testing kernel module ***'
  40. - @echo
  41. - @/sbin/modprobe lazyfs@COMMA_VERSION@ || echo "FAILED: Try 'dmesg' for help"
  42. - @echo '(try "python tests/check.py" for more checking)'
  43. uninstall:
  44. rm -f ${MODULEDIR}/lazyfs@COMMA_VERSION@.${KOBJECT}