lpa: Add NRSW base recipe
This is a tool to manage eUICC sim cards profiles. BugzID: 80707
This commit is contained in:
parent
376186bb85
commit
8f2fca9c5f
|
|
@ -0,0 +1,34 @@
|
||||||
|
LICENSE = "CLOSED"
|
||||||
|
LIC_FILES_CHKSUM = ""
|
||||||
|
|
||||||
|
SRC_URI = "git://gitea@git.netmodule.intranet/NRSW/lpa.git;branch=sdk_1.6;protocol=ssh \
|
||||||
|
"
|
||||||
|
|
||||||
|
PV = "1.0+git${SRCPV}"
|
||||||
|
SRCREV = "3ed22fa779382f2e407d6bce621a2cfb5cf26044"
|
||||||
|
|
||||||
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
DEPENDS = "curl openssl nmutils"
|
||||||
|
|
||||||
|
EXTRA_OEMAKE_append = "-j 1 SEMEDIA_TYPE=wwanmd NRSW_LICENSING=1"
|
||||||
|
|
||||||
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||||
|
|
||||||
|
inherit autotools-brokensep pkgconfig-nmutils
|
||||||
|
|
||||||
|
do_install () {
|
||||||
|
install -d ${D}${libdir}
|
||||||
|
install -d ${D}${datadir}/lpa
|
||||||
|
install -m 755 ${B}/sdk/liblpa.so.1.0.0 ${D}${libdir}
|
||||||
|
ln -sf liblpa.so.1.0.0 ${D}${libdir}/liblpa.so.1
|
||||||
|
ln -sf liblpa.so.1.0.0 ${D}${libdir}/liblpa.so
|
||||||
|
install -d ${D}${bindir}
|
||||||
|
install -m 755 ${B}/lpa/lpa ${D}${bindir}/
|
||||||
|
install -m 644 ${B}/certs/CI-cert_NIST.crt ${D}${datadir}/lpa/
|
||||||
|
install -m 644 ${B}/certs/GSMA_CE_TEST_CI.crt ${D}${datadir}/lpa/
|
||||||
|
install -m 644 ${B}/certs/GSMA_CE_LIVE_CI.crt ${D}${datadir}/lpa/
|
||||||
|
ln -sf GSMA_CE_LIVE_CI.crt ${D}${datadir}/lpa/default.crt
|
||||||
|
}
|
||||||
|
|
||||||
|
FILES_${PN} += "${bindir}/* ${libdir}/*.so*"
|
||||||
Loading…
Reference in New Issue