summaryrefslogtreecommitdiffstats
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 12:57:11 +0100
commit43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77 (patch)
tree210316ff7b992207e2e94a02508c4c1a2176f43c
parent6b2395210e8c7fd7eb91fa78e043a811c3c0af3d (diff)
downloadopenembedded-core-contrib-43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77.tar.gz
openembedded-core-contrib-43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77.tar.bz2
openembedded-core-contrib-43be08bbfc3fd7ae2a8143ccd5d51d48394f4e77.zip
blktrace: obey LDFLAGS for btrecord
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-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>
INCS = -I. -I.. -I../btt
OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG
XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-@@ -35,7 +36,7 @@ btrecord: btrecord.o
- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
+@@ -32,10 +33,10 @@ clean: docsclean
+ $(CC) $(CFLAGS) -c -o $*.o $<
+
+ btrecord: btrecord.o
+- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^)
++ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS)
btreplay: btreplay.o
- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LIBS)