29 lines
677 B
BlitzBasic
29 lines
677 B
BlitzBasic
DESCRIPTION = "Testing Bitbake file"
|
|
SECTION = "TESTING"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
PR = "r0"
|
|
|
|
SRCREV = "8e7ae2664f2c6a9bf50a67fca54c306f525098a9"
|
|
SRC_URI = "git://git.bit-engineering.com/pMeter/EMOS-TestApp.git;protocol=https"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit base
|
|
|
|
FILES_${PN} += " \
|
|
/TestApp \
|
|
"
|
|
|
|
do_compile() {
|
|
cd ${WORKDIR}/git
|
|
/usr/bin/dotnet publish -c Release -r linux-arm64 --no-self-contained
|
|
}
|
|
|
|
do_install() {
|
|
install -d ${D}/TestApp
|
|
for file in ${WORKDIR}/git/TestApp/bin/Release/net7.0/linux-arm64/publish/*; do
|
|
install -m 0755 "$file" ${D}/TestApp
|
|
done
|
|
}
|