* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / x11 / gatos-km / no-uname.patch
blob33a57f71c1651cf3e98ffa4a8c4e8a5ffd504423
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../gatos-km/no-uname.patch
5 # Copyright (C) 2004 - 2005 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 --- gatos-km-2004-01-07/Makefile.orig 2005-02-16 01:25:06.789449548 +0100
17 +++ gatos-km-2004-01-07/Makefile 2005-02-16 01:25:54.731259020 +0100
18 @@ -56,9 +56,9 @@
19 $(CC) $(CFLAGS) test2.c -o test2
21 install:
22 - mkdir -p /lib/modules/`uname -r`/misc/
23 - install km_api_drv.o /lib/modules/`uname -r`/misc/
24 - install km_drv.o /lib/modules/`uname -r`/misc/
25 + mkdir -p $(MODDIR)/misc/
26 + install km_api_drv.o $(MODDIR)/misc/
27 + install km_drv.o $(MODDIR)/misc/
29 tarball:
30 (cd .. ; tar cvf - km/*.[c,h] km/Makefile km/README | gzip - ) > km.tgz