From 5bbabe71d6b17e089b078cba56f3980eb31bb5d2 Mon Sep 17 00:00:00 2001 From: Huang Qiyu Date: Mon, 5 Feb 2018 13:40:49 +0800 Subject: tiptop: 2.3 -> 2.3.1 Upgrade tiptop from 2.3 to 2.3.1. Signed-off-by: Huang Qiyu Signed-off-by: Armin Kuster --- meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb | 26 +++++++++++++++++++++++++ meta-oe/recipes-extended/tiptop/tiptop_2.3.bb | 26 ------------------------- 2 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 meta-oe/recipes-extended/tiptop/tiptop_2.3.1.bb delete mode 100644 meta-oe/recipes-extended/tiptop/tiptop_2.3.bb (limited to 'meta-oe') 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 @@ +SUMMARY = "Hardware performance monitoring counters" +HOMEPAGE = "http://tiptop.gforge.inria.fr/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" +DEPENDS = "ncurses libxml2" + +SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz" +SRC_URI[md5sum] = "46ca0fdf0236f02dd2b96d347626d2a2" +SRC_URI[sha256sum] = "51c4449c95bba34f16b429729c2f58431490665d8093efaa8643b2e1d1084182" + +inherit autotools-brokensep +EXTRA_OECONF = "CFLAGS="$CFLAGS -I${STAGING_INCDIR}/libxml2"" +COMPATIBLE_HOST = "(i.86|x86_64|arm|powerpc).*-linux" + +do_configure_prepend () { + # Two bugs in configure.ac when cross-compiling. + # 1. The path of libxml2. Specify it in EXTRA_OECONF. + # 2. hw's value on other platforms. Replace it if the target is + # not i*86/x86_64. + if ( echo "${TARGET_ARCH}" | grep -q -e 'i.86' -e 'x86_64' ); then + sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac + else + sed -i 's/hw=`uname -m`/hw="unknown"/' ${S}/configure.ac + sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac + fi +} diff --git a/meta-oe/recipes-extended/tiptop/tiptop_2.3.bb b/meta-oe/recipes-extended/tiptop/tiptop_2.3.bb deleted file mode 100644 index d729de9bb..000000000 --- a/meta-oe/recipes-extended/tiptop/tiptop_2.3.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "Hardware performance monitoring counters" -HOMEPAGE = "http://tiptop.gforge.inria.fr/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "ncurses libxml2" - -SRC_URI = "http://tiptop.gforge.inria.fr/releases/${BP}.tar.gz" -SRC_URI[md5sum] = "f1fba1e90465b0e5a3865b19133fa19d" -SRC_URI[sha256sum] = "3f07e958b40acaeab98e9eb1326c9f91b0be0a782c1cc2bd7a9e18d31fab18ca" - -inherit autotools-brokensep -EXTRA_OECONF = "CFLAGS="$CFLAGS -I${STAGING_INCDIR}/libxml2"" -COMPATIBLE_HOST = "(i.86|x86_64|arm|powerpc).*-linux" - -do_configure_prepend () { - # Two bugs in configure.ac when cross-compiling. - # 1. The path of libxml2. Specify it in EXTRA_OECONF. - # 2. hw's value on other platforms. Replace it if the target is - # not i*86/x86_64. - if ( echo "${TARGET_ARCH}" | grep -q -e 'i.86' -e 'x86_64' ); then - sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac - else - sed -i 's/hw=`uname -m`/hw="unknown"/' ${S}/configure.ac - sed -i 's= -I/usr/include/libxml2==' ${S}/configure.ac - fi -} -- cgit v1.2.3-54-g00ecf