diff --git a/core/recipes-kernel/blktrace/blktrace_git.bbappend b/core/recipes-kernel/blktrace/blktrace_git.bbappend index bc7ef18..34ab5e9 100644 --- a/core/recipes-kernel/blktrace/blktrace_git.bbappend +++ b/core/recipes-kernel/blktrace/blktrace_git.bbappend @@ -1,19 +1 @@ FILESEXTRAPATHS_prepend := "${THISDIR}:" - -SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \ - file://ldflags.patch" - -EXTRA_OEMAKE = "\ - 'CC=${CC}' \ - 'CFLAGS=${CFLAGS}' \ - 'LDFLAGS=${LDFLAGS}' \ -" -PARALLEL_MAKE = "" - -do_compile() { - base_do_compile -} - -do_install() { - base_do_install -} diff --git a/core/recipes-kernel/blktrace/ldflags.patch b/core/recipes-kernel/blktrace/ldflags.patch index ec54ac6..3564e51 100644 --- a/core/recipes-kernel/blktrace/ldflags.patch +++ b/core/recipes-kernel/blktrace/ldflags.patch @@ -1,3 +1,14 @@ +blktrace: obey LDFLAGS + +Upstream-Status: Pending + +Signed-off-by: Christopher Larson + +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 --- Makefile | 11 ++++++----- btreplay/Makefile | 3 ++- @@ -48,8 +59,12 @@ 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)