Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DESCRIPTION = "The canonical example of init scripts"
- SECTION = "base"
- LICENSE = "GPLv2"
- LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
- PR = "r0"
- BB_STRICT_CHECKSUM = "0"
- DEPENDS = "sqlite3 glib-2.0 gdbm db"
- RDEPENDS_${PN} = "sqlite3 glib-2.0 gdbm db"
- RPROVIDES_${PN} += "libClUtils.so libmw.so libClDbal.so"
- # SRCREV = "acb7eeed075e44a4d3265541781c6c7efe21f8b4"
- SRCREV = "${AUTOREV}"
- SRC_URI = "git://github.com/OpenClovis/SAFplus-Availability-Scalability-Platform"
- # SRC_URI = "git://git@gitlab.com/kostaz/SAFplus-Availability-Scalability-Platform.git;protocol=ssh;branch=v6.0.1_mrv_tc_lk_4_4"
- # https://chmorgan.blogspot.co.il/2014/05/yocto-recipe-srcuri-for-bitbucket.html
- # SRC_URI = "git://git@bitbucket.org/cmorgan/somerepository.git;protocol=ssh"
- S = "${WORKDIR}/git"
- inherit autotools pkgconfig
- EXTRA_OEMAKE = "'CC=${CC} -Wformat-truncation=0 -Wformat-overflow=0 -Wshift-overflow=0'"
- PARALLEL_MAKE = ""
- # -Wformat-truncation=
- OC_SDK = "${WORKDIR}/clovis"
- OC_ASP_BUILD = "${WORKDIR}/asp_build"
- OC_TARGET_DIR = "${prefix}/target/${TARGET_ARCH}/${TARGET_OS}"
- EXTRA_OECONF = " \
- --with-sdk-dir=${OC_SDK} \
- --with-safplus-build \
- --without-snmp-build \
- --prefix=${D}${prefix} \
- "
- do_configure () {
- mkdir -p ${OC_SDK}/6.1/sdk
- mkdir -p ${OC_SDK}/6.1/buildtools/yocto
- mkdir -p ${OC_ASP_BUILD}
- cd ${OC_ASP_BUILD}
- TARGET=${TARGET_OS} \
- ARCH=${TARGET_ARCH} \
- MARCH=${TARGET_ARCH} \
- ${S}/src/SAFplus/configure ${EXTRA_OECONF}
- }
- do_compile () {
- cd ${OC_ASP_BUILD}/asp/build/local
- oe_runmake V=1
- }
- do_install () {
- cd ${OC_ASP_BUILD}/asp/build/local
- make safplus-install
- }
- INSANE_SKIP_${PN} += "dev-so libdir"
- INSANE_SKIP_${PN}-dbg += "libdir"
- FILES_${PN}-dbg += " ${OC_TARGET_DIR}/lib/.debug ${OC_TARGET_DIR}/lib/shared-*/.debug"
- FILES_${PN}-staticdev += " ${OC_TARGET_DIR}/lib/*.a"
- FILES_${PN} += " ${OC_TARGET_DIR}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement