1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

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>
This commit is contained in:
Fahad Usman
2012-12-20 17:40:32 +05:00
committed by Richard Purdie
parent 9d985e9547
commit 716578c677
3 changed files with 97 additions and 65 deletions
+8 -10
View File
@@ -6,19 +6,17 @@ DEPENDS = "libaio"
SRCREV = "d6918c8832793b4205ed3bfede78c2f915c23385"
PR = "r4"
PR = "r5"
PV = "1.0.5+git${SRCPV}"
SRC_URI = "git://git.kernel.dk/blktrace.git;protocol=git \
file://blktrace-makefile.patch"
file://ldflags.patch"
S = "${WORKDIR}/git"
do_compile() {
oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" prefix=${prefix}
}
do_install() {
oe_runmake ARCH="${ARCH}" CC="${CC}" LD="${LD}" \
prefix=${prefix} DESTDIR=${D} install
}
EXTRA_OEMAKE = "\
'CC=${CC}' \
'CFLAGS=${CFLAGS}' \
'LDFLAGS=${LDFLAGS}' \
"
PARALLEL_MAKE = ""