summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/latencytop/latencytop_0.5.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-07 07:45:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-12 22:48:39 +0100
commit3d8fd2f0ec1778aa36cb95194c474e57dae455e4 (patch)
tree409fe298a5b458fe26a614e632eafe43be5cc44d /meta/recipes-kernel/latencytop/latencytop_0.5.bb
parentc8f4822c4d46fb0e222913edeabc33e4bc6d4166 (diff)
downloadpoky-3d8fd2f0ec1778aa36cb95194c474e57dae455e4.tar.gz
latencytop: Fix build with clang
Clang is stricter with syntax checking and flags the functions return values if they dont match with function signatures, Fixed thusly (From OE-Core rev: 91b8c2900570720d56a123a90e927f49a6a6095f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/latencytop/latencytop_0.5.bb')
-rw-r--r--meta/recipes-kernel/latencytop/latencytop_0.5.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-kernel/latencytop/latencytop_0.5.bb b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
index cb0a3c5ed1..f31f1bb7ab 100644
--- a/meta/recipes-kernel/latencytop/latencytop_0.5.bb
+++ b/meta/recipes-kernel/latencytop/latencytop_0.5.bb
@@ -10,7 +10,9 @@ PR = "r3"
10 10
11SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/73bb3371c6ee0b0e68e25289027e865c/${BP}.tar.gz \ 11SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/${BPN}/${BP}.tar.gz/73bb3371c6ee0b0e68e25289027e865c/${BP}.tar.gz \
12 file://latencytop-makefile.patch \ 12 file://latencytop-makefile.patch \
13 file://latencytop-fsync.patch" 13 file://latencytop-fsync.patch \
14 file://0001-Rectify-the-function-signatures-to-fix-prototype-mis.patch \
15"
14 16
15SRC_URI[md5sum] = "73bb3371c6ee0b0e68e25289027e865c" 17SRC_URI[md5sum] = "73bb3371c6ee0b0e68e25289027e865c"
16SRC_URI[sha256sum] = "9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef" 18SRC_URI[sha256sum] = "9e7f72fbea7bd918e71212a1eabaad8488d2c602205d2e3c95d62cd57e9203ef"
@@ -21,7 +23,7 @@ PACKAGECONFIG[x11] = ",,gtk+"
21 23
22EXTRA_OEMAKE_X = "${@bb.utils.contains('PACKAGECONFIG', 'x11', 'HAS_GTK_GUI=1', '', d)}" 24EXTRA_OEMAKE_X = "${@bb.utils.contains('PACKAGECONFIG', 'x11', 'HAS_GTK_GUI=1', '', d)}"
23 25
24CFLAGS += "${LDFLAGS}" 26#CFLAGS += "${LDFLAGS}"
25 27
26do_install() { 28do_install() {
27 oe_runmake install DESTDIR=${D} ${EXTRA_OEMAKE_X} 29 oe_runmake install DESTDIR=${D} ${EXTRA_OEMAKE_X}