diff options
Diffstat (limited to 'meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch')
-rw-r--r-- | meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch b/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch deleted file mode 100644 index 7147fda5d3..0000000000 --- a/meta/recipes-kernel/latencytop/latencytop-0.5/latencytop-makefile.patch +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
1 | |||
2 | Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> | ||
3 | Upstream-Status: Pending | ||
4 | |||
5 | diff --git a/Makefile.orig b/Makefile | ||
6 | index 16a2369..fa797a2 100644 | ||
7 | --- a/Makefile.orig | ||
8 | +++ b/Makefile | ||
9 | @@ -1,10 +1,11 @@ | ||
10 | -# FIXME: Use autoconf ? | ||
11 | -HAS_GTK_GUI = 1 | ||
12 | +# | ||
13 | +# | ||
14 | |||
15 | DESTDIR = | ||
16 | SBINDIR = /usr/sbin | ||
17 | XCFLAGS = -W -g `pkg-config --cflags glib-2.0` -D_FORTIFY_SOURCE=2 -Wno-sign-compare | ||
18 | -LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncursesw | ||
19 | +LDF = -Wl,--as-needed `pkg-config --libs glib-2.0` -lncurses $(LDFLAGS) | ||
20 | +CC ?= gcc | ||
21 | |||
22 | OBJS= latencytop.o text_display.o translate.o fsync.o | ||
23 | |||
24 | @@ -26,16 +27,17 @@ endif | ||
25 | |||
26 | # We write explicity this "implicit rule" | ||
27 | %.o : %.c | ||
28 | - gcc -c $(CFLAGS) $(XCFLAGS) $< -o $@ | ||
29 | + $(CC) -c $(CFLAGS) $(XCFLAGS) $< -o $@ | ||
30 | |||
31 | latencytop: $(OBJS) latencytop.h Makefile | ||
32 | - gcc $(CFLAGS) $(OBJS) $(LDF) -o latencytop | ||
33 | + $(CC) $(CFLAGS) $(OBJS) $(LDF) -o latencytop | ||
34 | |||
35 | clean: | ||
36 | rm -f *~ latencytop DEADJOE *.o | ||
37 | |||
38 | install: latencytop | ||
39 | mkdir -p $(DESTDIR)/usr/share/latencytop | ||
40 | + mkdir -p $(DESTDIR)/$(SBINDIR) | ||
41 | install -m 0644 latencytop.trans $(DESTDIR)/usr/share/latencytop/latencytop.trans | ||
42 | install -m 0644 *.png $(DESTDIR)/usr/share/latencytop/ | ||
43 | install -m 0755 latencytop $(DESTDIR)$(SBINDIR)/ | ||