diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-06 07:50:25 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-06-12 06:56:45 +0200 |
commit | cf08f81e53b5d9256aeeef72b009736bf4741ee2 (patch) | |
tree | b191f5a720580755273a1d46ad4c359b7125c0a1 /meta-oe/recipes-extended | |
parent | da5beadf988452baecee72daf16f46ea83661b2d (diff) | |
download | meta-openembedded-cf08f81e53b5d9256aeeef72b009736bf4741ee2.tar.gz |
konkretcmpi: Update and fix build with latest oe-core
Drop already upstreamed patch
Use bbclassextend for deriving native recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb | 28 | ||||
-rw-r--r-- | meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb | 6 |
2 files changed, 5 insertions, 29 deletions
diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb deleted file mode 100644 index 9b2ace9c4..000000000 --- a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi-native_0.9.2.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | SUMMARY = "Tool for rapid CMPI providers development" | ||
2 | DESCRIPTION = "\ | ||
3 | KonkretCMPI makes CMPI provider development easier by generating type-safe \ | ||
4 | concrete CIM interfaces from MOF definitions and by providing default \ | ||
5 | implementations for many of the provider operations." | ||
6 | HOMEPAGE = "https://github.com/rnovacek/konkretcmpi" | ||
7 | LICENSE = "MIT" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873" | ||
9 | DEPENDS = "cmake-native cmpi-bindings-native" | ||
10 | |||
11 | SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \ | ||
12 | file://konkretcmpi-0.9.2-fix-returning-instance-from-method.patch \ | ||
13 | file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch " | ||
14 | |||
15 | SRCREV = "460e6421c16a8216d29ccd1b7490f814dab8b769" | ||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit native cmake | ||
19 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
20 | |||
21 | EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ | ||
22 | ${@base_conditional("libdir", "/usr/lib64", "-DLIB_SUFFIX=64", "", d)} \ | ||
23 | ${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ | ||
24 | " | ||
25 | |||
26 | do_install_append() { | ||
27 | rm -rf ${D}${datadir} | ||
28 | } | ||
diff --git a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb index 4e4aa6cde..cbf04734e 100644 --- a/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb +++ b/meta-oe/recipes-extended/konkretcmpi/konkretcmpi_0.9.2.bb | |||
@@ -6,7 +6,8 @@ implementations for many of the provider operations." | |||
6 | HOMEPAGE = "https://github.com/rnovacek/konkretcmpi" | 6 | HOMEPAGE = "https://github.com/rnovacek/konkretcmpi" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f673270bfc350d9ce1efc8724c6c1873" |
9 | DEPENDS = "swig-native sblim-cmpi-devel python" | 9 | DEPENDS_append_class-target = " swig-native sblim-cmpi-devel python" |
10 | DEPENDS_append_class-native = " cmpi-bindings-native" | ||
10 | 11 | ||
11 | SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \ | 12 | SRC_URI = "git://github.com/rnovacek/konkretcmpi.git \ |
12 | file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch \ | 13 | file://0001-CMakeLists.txt-fix-lib64-can-not-be-shiped-in-64bit-.patch \ |
@@ -23,6 +24,8 @@ EXTRA_OECMAKE = "-DWITH_PYTHON=ON \ | |||
23 | ${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ | 24 | ${@base_conditional("libdir", "/usr/lib32", "-DLIB_SUFFIX=32", "", d)} \ |
24 | " | 25 | " |
25 | 26 | ||
27 | LDFLAGS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
28 | |||
26 | do_install_append() { | 29 | do_install_append() { |
27 | rm -rf ${D}${datadir} | 30 | rm -rf ${D}${datadir} |
28 | } | 31 | } |
@@ -32,3 +35,4 @@ PACKAGES =+ "${PN}-python ${PN}-python-dbg" | |||
32 | FILES_${PN}-python = "${libdir}/python2.7/site-packages/konkretmof.py* ${libdir}/python2.7/site-packages/_konkretmof.so" | 35 | FILES_${PN}-python = "${libdir}/python2.7/site-packages/konkretmof.py* ${libdir}/python2.7/site-packages/_konkretmof.so" |
33 | FILES_${PN}-python-dbg = "${libdir}/python2.7/site-packages/.debug/*" | 36 | FILES_${PN}-python-dbg = "${libdir}/python2.7/site-packages/.debug/*" |
34 | 37 | ||
38 | BBCLASSEXTEND = "native" | ||