diff options
Diffstat (limited to 'meta-moblin/packages/sreadahead/sreadahead-0.02/sreadahead-0.02-make.patch')
-rw-r--r-- | meta-moblin/packages/sreadahead/sreadahead-0.02/sreadahead-0.02-make.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta-moblin/packages/sreadahead/sreadahead-0.02/sreadahead-0.02-make.patch b/meta-moblin/packages/sreadahead/sreadahead-0.02/sreadahead-0.02-make.patch deleted file mode 100644 index d0ece663b5..0000000000 --- a/meta-moblin/packages/sreadahead/sreadahead-0.02/sreadahead-0.02-make.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | diff -Nrup sreadahead-0.02.orig/Makefile sreadahead-0.02/Makefile | ||
2 | --- sreadahead-0.02.orig/Makefile 2008-09-23 22:36:24.000000000 +0200 | ||
3 | +++ sreadahead-0.02/Makefile 2008-09-26 07:43:19.000000000 +0200 | ||
4 | @@ -1,11 +1,18 @@ | ||
5 | -all: generate_filelist sreadahead | ||
6 | +CFLAGS=-Os -g -Wall | ||
7 | +PROGS=generate_filelist sreadahead | ||
8 | + | ||
9 | +all: $(PROGS) | ||
10 | |||
11 | |||
12 | generate_filelist: readahead.h filelist.c Makefile | ||
13 | - gcc -Os -g -Wall -W filelist.c -o generate_filelist | ||
14 | + $(CC) $(CFLAGS) -W filelist.c -o generate_filelist | ||
15 | |||
16 | sreadahead: readahead.h readahead.c Makefile | ||
17 | - gcc -Os -g -Wall -lpthread -W readahead.c -o sreadahead | ||
18 | + $(CC) $(CFLAGS) -lpthread -W readahead.c -o sreadahead | ||
19 | |||
20 | clean: | ||
21 | - rm -f *~ sreadahead generate_filelist | ||
22 | \ No newline at end of file | ||
23 | + rm -f *~ sreadahead generate_filelist | ||
24 | + | ||
25 | +install: all | ||
26 | + mkdir -p $(DESTDIR)/sbin | ||
27 | + install -p -m 755 $(PROGS) $(DESTDIR)/sbin | ||