summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/blktrace
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2014-09-02 15:58:50 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-09-22 13:04:22 +0100
commiteb5572023142be9db72520d2d91db5e18d268705 (patch)
tree763ea5a68454275fa79f4ad66c41504b45167ab5 /meta/recipes-kernel/blktrace
parent6bd98e81d251fca5523856a90181b2b692ab4c9f (diff)
downloadpoky-eb5572023142be9db72520d2d91db5e18d268705.tar.gz
blktrace: obey LDFLAGS for btrecord
(From OE-Core rev: 43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/blktrace')
-rw-r--r--meta/recipes-kernel/blktrace/blktrace/ldflags.patch8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
index b9c7c20c2b..037d161340 100644
--- a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
+++ b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch
@@ -59,8 +59,12 @@ Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
59 INCS = -I. -I.. -I../btt 59 INCS = -I. -I.. -I../btt
60 OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG 60 OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG
61 XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 61 XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
62@@ -35,7 +36,7 @@ btrecord: btrecord.o 62@@ -32,10 +33,10 @@ clean: docsclean
63 $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) 63 $(CC) $(CFLAGS) -c -o $*.o $<
64
65 btrecord: btrecord.o
66- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
67+ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS)
64 68
65 btreplay: btreplay.o 69 btreplay: btreplay.o
66- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS) 70- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS)