* rebased llvm/hotfix-sparcv9-not-64.diff
[t2sde.git] / package / filesystem / cloop / hotfix-makefile-install-noconfvars.patch
blob8becab42eeeda2fdf6e99edcba1a4335763d4189
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../cloop/makefile-install-noconfvars.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 --- ./Makefile.orig 2004-05-08 15:39:45.882594296 +0200
17 +++ ./Makefile 2004-05-08 16:25:36.674410376 +0200
18 @@ -6,7 +6,6 @@
19 CFLAGS:=-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -s -I. -fno-strict-aliasing -fno-common -fomit-frame-pointer
20 else
21 include $(KERNEL_DIR)/.config
22 -include $(KERNEL_DIR)/conf.vars
23 endif
25 CKERNOPS:=-D__KERNEL__ -DMODULE -fno-builtin -nostdlib -DKBUILD_MODNAME="cloop" -DKBUILD_BASENAME="cloop"
26 @@ -50,3 +49,9 @@
27 $(CC) -I$(KERNEL_DIR)/include -I$(KERNEL_DIR)/include/asm/mach-default $(CFLAGS) $(CKERNOPS) $< -c -o $@
29 compressed_loop.o create_compressed_fs.o: compressed_loop.h
31 +install:
32 + mkdir -p $(MODDIR)
33 + install -m 755 cloop.o $(MODDIR)
34 + install -m 755 create_compressed_fs $(PREFIX)/sbin
35 + install -m 755 extract_compressed_fs $(PREFIX)/sbin