diff options
author | Huang Qiyu <huangqy.fnst@cn.fujitsu.com> | 2018-02-05 13:40:49 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-02-23 20:20:15 -0800 |
commit | 5bbabe71d6b17e089b078cba56f3980eb31bb5d2 (patch) | |
tree | 64c1c9fe8c697e10d63fd395cb3c24a70164092a /meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb | |
parent | 7ec2989fc0bb7fe16a2394aa49a09e1f428fd8b1 (diff) | |
download | meta-openembedded-5bbabe71d6b17e089b078cba56f3980eb31bb5d2.tar.gz |
tiptop: 2.3 -> 2.3.1
Upgrade tiptop from 2.3 to 2.3.1.
Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb')
-rw-r--r-- | meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb b/meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb new file mode 100644 index 000000000..0a00a366e --- /dev/null +++ b/meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "Hardware performance monitoring counters" | ||
2 | HOMEPAGE = "http://tiptop.gforge.inria.fr/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
5 | DEPENDS = "ncurses libxml2" | ||
6 | |||
7 | SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz" | ||
8 | SRC_URI[md5sum] = "46ca0fdf0236f02dd2b96d347626d2a2" | ||
9 | SRC_URI[sha256sum] = "51c4449c95bba34f16b429729c2f58431490665d8093efaa8643b2e1d1084182" | ||
10 | |||
11 | inherit autotools-brokensep | ||
12 | EXTRA_OECONF = "CFLAGS="$CFLAGS -I${STAGING_INCDIR}/libxml2"" | ||
13 | COMPATIBLE_HOST = "(i.86|x86_64|arm|powerpc).*-linux" | ||
14 | |||
15 | do_configure_prepend () { | ||
16 | # Two bugs in configure.ac when cross-compiling. | ||
17 | # 1. The path of libxml2. Specify it in EXTRA_OECONF. | ||
18 | # 2. hw's value on other platforms. Replace it if the target is | ||
19 | # not i*86/x86_64. | ||
20 | if ( echo "${TARGET_ARCH}" | grep -q -e 'i.86' -e 'x86_64' ); then | ||
21 | sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac | ||
22 | else | ||
23 | sed -i 's/hw=`uname -m`/hw="unknown"/' ${S}/configure.ac | ||
24 | sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac | ||
25 | fi | ||
26 | } | ||