Integrate rust version of gnss-mgr
This commit is contained in:
parent
a4ab48c63e
commit
73c4f86731
|
|
@ -0,0 +1,14 @@
|
|||
SUMMARY = "A tool to configure the GNSS receivers, Rust variant"
|
||||
LICENSE = "CLOSED"
|
||||
LIC_FILES_CHKSUM = ""
|
||||
|
||||
inherit cargo_bin
|
||||
|
||||
DEPENDS = "gnss-lib"
|
||||
|
||||
# Enable network for the compile task allowing cargo to download dependencies
|
||||
do_compile[network] = "1"
|
||||
|
||||
SRC_URI = "git://git@bitbucket.gad.local:7999/ins-cgp-sw/gnss-manager.rs.git;protocol=ssh;branch=main"
|
||||
SRCREV = "fd46b45d9c838e724679fc39a011eb47d27f98cd"
|
||||
S = "${WORKDIR}/git"
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
LICENSE = "CLOSED"
|
||||
LIC_FILES_CHKSUM = ""
|
||||
|
||||
SRC_URI = "git://git@bitbucket.gad.local:7999/nm-nsp/gnss-lib.git;protocol=ssh;branch=main"
|
||||
|
||||
PV = "1.0+git${SRCPV}"
|
||||
SRCREV = "2f1770712370402a4137547ae6e6f4d7bd74ed80"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/${libdir}/
|
||||
cp --no-preserve=ownership -r ${B}/lib/* ${D}/${libdir}/
|
||||
|
||||
install -d ${D}/${includedir}/
|
||||
cp --no-preserve=ownership -r ${B}/api/* ${D}/${includedir}/
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue