1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../ktcpvs/make_install.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- ./Makefile.orig 2004-12-17 14:37:39.000000000 -0300
19 +++ ./Makefile 2005-04-07 23:06:46.043750480 -0400
24 +DEPMOD = /sbin/depmod
25 CFLAGS = -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS \
26 $(SMPFLAGS) $(DEBUGFLAGS) -O2 -Wall \
27 -Wstrict-prototypes -I$(KERNELSOURCE)/include \
29 modules_install: $(TARGETS)
30 if [ ! -d "$(MODLIB)" ]; then mkdir -p "$(MODLIB)"; fi
31 install -m 600 -c $(TARGETS) "$(MODLIB)"
32 - if [ `/usr/bin/id -u` = '0' ]; then depmod -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
33 + if [ `/usr/bin/id -u` = '0' ]; then $(DEPMOD) -ae -F $(KERNELSYMS) $(depmod_opts) $(KERNELRELEASE); fi
36 (cd "$(MODLIB)"; rm -f $(TARGETS))