diff options
author | Fahad Usman <fahad_usman@mentor.com> | 2012-12-20 17:40:32 +0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-26 11:34:06 +0000 |
commit | 716578c67704d9d246d15669d5eb9d1ad34d5d5f (patch) | |
tree | 7a73dbddd197494491bf12ab6b7f290e28d0f9d6 /meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch | |
parent | 9d985e95474b84241d07007d71c1e6c82f2174ce (diff) | |
download | poky-716578c67704d9d246d15669d5eb9d1ad34d5d5f.tar.gz |
blktrace: essentially rework the recipe, obey LDFLAGS
(From OE-Core rev: 8d5fa8f26e4cc366ac566d3682bd74eb4578cc6d)
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
the patch was imported from meta-mentor layer on yoctoproject git server
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id
aed463414e2e2bf8ca44ba54ee5973e7ed599e57
Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch')
-rw-r--r-- | meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch b/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch deleted file mode 100644 index c0f5fb0b3e..0000000000 --- a/meta/recipes-kernel/blktrace/blktrace/blktrace-makefile.patch +++ /dev/null | |||
@@ -1,55 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: git/Makefile | ||
4 | =================================================================== | ||
5 | --- git.orig/Makefile 2010-11-22 11:20:14.303472770 -0600 | ||
6 | +++ git/Makefile 2010-11-22 14:11:19.152635423 -0600 | ||
7 | @@ -1,5 +1,3 @@ | ||
8 | -CC = gcc | ||
9 | -CFLAGS = -Wall -O2 -g -W | ||
10 | ALL_CFLAGS = $(CFLAGS) -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
11 | PROGS = blkparse blktrace verify_blkparse blkrawverify blkiomon | ||
12 | LIBS = -lpthread | ||
13 | @@ -11,13 +9,13 @@ | ||
14 | all: $(ALL) | ||
15 | |||
16 | btt/btt: | ||
17 | - $(MAKE) -C btt | ||
18 | + CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btt CC="${CC}" CFLAGS="${CFLAGS}" | ||
19 | |||
20 | btreplay/btrecord: | ||
21 | - $(MAKE) -C btreplay | ||
22 | + CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" btrecord | ||
23 | |||
24 | btreplay/btreplay: | ||
25 | - $(MAKE) -C btreplay | ||
26 | + CC="${CC}" CFLAGS="${CFLAGS}" $(MAKE) -C btreplay CC="${CC}" CFLAGS="${CFLAGS}" btreplay | ||
27 | |||
28 | %.o: %.c | ||
29 | $(CC) -o $*.o -c $(ALL_CFLAGS) $< | ||
30 | Index: git/btreplay/Makefile | ||
31 | =================================================================== | ||
32 | --- git.orig/btreplay/Makefile 2010-11-22 11:21:12.972679035 -0600 | ||
33 | +++ git/btreplay/Makefile 2010-11-22 14:07:01.492839945 -0600 | ||
34 | @@ -5,8 +5,6 @@ | ||
35 | # NDEBUG - Defined: no asserts, Undefined: asserts | ||
36 | # | ||
37 | |||
38 | -CC = gcc | ||
39 | -CFLAGS = -Wall -W -O2 -g | ||
40 | INCS = -I. -I.. -I../btt | ||
41 | OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG | ||
42 | XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
43 | Index: git/btt/Makefile | ||
44 | =================================================================== | ||
45 | --- git.orig/btt/Makefile 2010-11-22 11:21:01.833758370 -0600 | ||
46 | +++ git/btt/Makefile 2010-11-22 14:07:15.783258253 -0600 | ||
47 | @@ -5,8 +5,6 @@ | ||
48 | # NDEBUG - Defined: no asserts, Undefined: asserts | ||
49 | # | ||
50 | |||
51 | -CC = gcc | ||
52 | -CFLAGS = -Wall -W -O2 -g | ||
53 | INCS = -I. -I.. | ||
54 | XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
55 | override CFLAGS += $(INCS) $(XCFLAGS) | ||