[bitbake-devel] changing content of configuration parameters of Cmakelist file from .bb file

nitish jha nitishjha16 at gmail.com
Wed Oct 12 11:33:26 UTC 2016


Hello All,

I want to change few configuration Parameters of default vsomeip
CMakelist.txt file from .bb file at runtime so that I can install vsome ip
using cmake from usr/lib to usr/lib64.

Contents of my .bb file:

DESCRIPTION = "A C++ SOME/IP implementation"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad"

#DEPENDS = "boost dlt-daemon"
DEPENDS = "boost"

SRC_URI = "\
    git://git.projects.genivi.org/vSomeIP.git;protocol=http;nobranch=1 \
    "

SRCREV = "2b7442a4c2452f8f3bd9e0f09f829478256d39af"
#SRC_URI += "file://0001-modified-cmakelists.patch"

S = "${WORKDIR}/git"

inherit cmake

do_configure_append() {
    cmake -INSTALL_LIB_DIR=/usr/lib64
}

PACKAGES += "${PN}-examples ${PN}-config"

FILES_${PN} = "${libdir}"
FILES_${PN}-examples = "${bindir}"
FILES_${PN}-dev += "${libdir}/cmake/vsomeip/*"
FILES_${PN}-config += "/usr/etc/vsomeip/*.json"

but at runtime this file gives error

Thanks and Regards

-- 
*Nitish Jha*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20161012/1144cfeb/attachment-0002.html>


More information about the bitbake-devel mailing list