Compare commits

..

1 Commits

Author SHA1 Message Date
Alexandre Bard 73c4f86731 Integrate rust version of gnss-mgr 2024-03-13 11:11:58 +01:00
2 changed files with 36 additions and 0 deletions

View File

@ -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"

View File

@ -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}/
}