libdigiapix: add Digi APIX library recipe
This library will provide a common API to access Digi hardware interfaces and/or other features. https://jira.digi.com/browse/DEL-4979 Signed-off-by: Tatiana Leon <tatiana.leon@digi.com>
This commit is contained in:
parent
7ef80dd7ad
commit
ef46270207
|
|
@ -0,0 +1,32 @@
|
||||||
|
# Copyright (C) 2017 Digi International Inc.
|
||||||
|
|
||||||
|
SUMMARY = "Digi APIX library"
|
||||||
|
DESCRIPTION = "C library to access and manage your ConnectCore platform interfaces in an easy manner"
|
||||||
|
SECTION = "libs"
|
||||||
|
LICENSE = "ISC"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/ISC;md5=f3b90e78ea0cffb20bf5cca7947a896d"
|
||||||
|
|
||||||
|
DEPENDS = "libsoc"
|
||||||
|
|
||||||
|
SRCBRANCH ?= "master"
|
||||||
|
SRCREV = "${AUTOREV}"
|
||||||
|
|
||||||
|
LIBDIGIAPIX_URI_STASH = "${DIGI_MTK_GIT}dey/libdigiapix.git;protocol=ssh"
|
||||||
|
LIBDIGIAPIX_URI_GITHUB = "git://github.com/digi-embedded/libdigiapix.git;protocol=git"
|
||||||
|
|
||||||
|
LIBDIGIAPIX_GIT_URI ?= "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${LIBDIGIAPIX_URI_STASH}', '${LIBDIGIAPIX_URI_GITHUB}', d)}"
|
||||||
|
|
||||||
|
SRC_URI = "${LIBDIGIAPIX_GIT_URI};branch=${SRCBRANCH}"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit pkgconfig
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
oe_runmake 'DESTDIR=${D}' install
|
||||||
|
|
||||||
|
# Create a link to 'libsoc.conf' file that is installed by libsoc recipe
|
||||||
|
install -d ${D}${sysconfdir}/
|
||||||
|
ln -sf libsoc.conf ${D}${sysconfdir}/${BPN}.conf
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue