1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../lazyfs/install.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
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
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
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
25 ifeq ($(KERNEL_TYPE), Linux_2_6)
28 MODFLAGS := -DMODULE -D__KERNEL__
30 install: lazyfs@COMMA_VERSION@.$(KOBJECT)
31 + @echo Installing to ${MODULEDIR}
33 - [ -n "${ROOT_PREFIX}" ] || ${MAKE} real-install
36 - @echo Installing to ${ROOT_PREFIX}/lib/modules/${KERNEL_VERSION}
37 - @echo "(current kernel uses $(ROOT_PREFIX)/lib/modules/`uname -r`)"
38 cp lazyfs@COMMA_VERSION@.$(KOBJECT) ${MODULEDIR}/
41 - @echo '*** Testing kernel module ***'
43 - @/sbin/modprobe lazyfs@COMMA_VERSION@ || echo "FAILED: Try 'dmesg' for help"
44 - @echo '(try "python tests/check.py" for more checking)'
47 rm -f ${MODULEDIR}/lazyfs@COMMA_VERSION@.${KOBJECT}