diff options
| -rw-r--r-- | meta/recipes-kernel/blktrace/blktrace/ldflags.patch | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch index 037d161340..dea1aa2028 100644 --- a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch +++ b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch | |||
| @@ -9,11 +9,6 @@ http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id | |||
| 9 | aed463414e2e2bf8ca44ba54ee5973e7ed599e57 | 9 | aed463414e2e2bf8ca44ba54ee5973e7ed599e57 |
| 10 | 10 | ||
| 11 | Signed-off-by: Fahad Usman <fahad_usman@mentor.com> | 11 | Signed-off-by: Fahad Usman <fahad_usman@mentor.com> |
| 12 | --- | ||
| 13 | Makefile | 11 ++++++----- | ||
| 14 | btreplay/Makefile | 3 ++- | ||
| 15 | btt/Makefile | 3 ++- | ||
| 16 | 3 files changed, 10 insertions(+), 7 deletions(-) | ||
| 17 | 12 | ||
| 18 | --- git.orig/Makefile | 13 | --- git.orig/Makefile |
| 19 | +++ git/Makefile | 14 | +++ git/Makefile |
| @@ -91,3 +86,21 @@ Signed-off-by: Fahad Usman <fahad_usman@mentor.com> | |||
| 91 | 86 | ||
| 92 | ifneq ($(wildcard .depend),) | 87 | ifneq ($(wildcard .depend),) |
| 93 | include .depend | 88 | include .depend |
| 89 | --- git.orig/iowatcher/Makefile | ||
| 90 | +++ git/iowatcher/Makefile | ||
| 91 | @@ -1,5 +1,6 @@ | ||
| 92 | C = gcc | ||
| 93 | CFLAGS = -Wall -O0 -g -W | ||
| 94 | +LDFLAGS = | ||
| 95 | ALL_CFLAGS = $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
| 96 | |||
| 97 | PROGS = iowatcher | ||
| 98 | @@ -19,7 +20,7 @@ all: $(ALL) | ||
| 99 | $(CC) -o $*.o -c $(ALL_CFLAGS) $< | ||
| 100 | |||
| 101 | iowatcher: blkparse.o plot.o main.o tracers.o mpstat.o fio.o | ||
| 102 | - $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm | ||
| 103 | + $(CC) $(ALL_CFLAGS) -o $@ $(filter %.o,$^) -lm $(LDFLAGS) | ||
| 104 | |||
| 105 | depend: | ||
| 106 | @$(CC) -MM $(ALL_CFLAGS) *.c 1> .depend | ||
