Files
vrpmdv-yocto-recipes/recipes-vrpmdv/recipes-base/vrpmdv-rtservice/vrpmdv-rtservice.bb
Markus Lehr 68a4f6bcbe get data from Kernel driver
1st version of the json file with the header
2024-06-24 20:34:18 +02:00

62 lines
1.6 KiB
BlitzBasic

SUMMARY = "vrpmdv-rtservice recipe"
DESCRIPTION = "Recipe to add vrpmdv-setup-page to it's location."
LICENSE = "CLOSED"
# LICENSE_FLAGS = "commercial"
# inherit allarch perlnative
inherit cmake
# DEPENDS += "perl"
DEPENDS += "boost"
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += " \
file://CMakeLists.txt \
file://zephyr_openamp_rsc_table.elf \
file://src/RTService.cpp \
file://src/monitoringTask/RTSMonitoringTask.cpp \
file://src/monitoringTask/RTSMonFrame.cpp \
file://src/utilities/RTSCoproHelper.cpp \
file://include/RTSCoproHelper.h \
file://include/RTSMonFrame.h \
file://include/RTSMonitoringTask.h \
file://include/ISensorDesc.h \
file://include/IChannelDesc.h \
file://include/VibSensorDesc.h \
file://include/json.hpp \
file://src/monitoringTask/VibSensorDesc.cpp \
file://include/VibChannelDesc.h \
file://src/monitoringTask/VibChannelDesc.cpp \
"
S = "${WORKDIR}"
DESTINATION = "/usr/bin"
# ELFDESTINATION = "~/elffile"
FILES:${PN} += "${DESTINATION}"
do_install () {
install -d ${D}${DESTINATION}
install -m 0644 ${B}/RTService ${D}/${DESTINATION}/
}
# do_install () {
# install -d ${D}${ELFDESTINATION}
# install -m 0644 ${WORKDIR}/*.elf ${D}/${ELFDESTINATION}
#
#}
# RDEPENDS:${PN} += " perl"
RDEPENDS:${PN} += " boost"
BBCLASSEXTEND = "native "
# BBCLASSEXTEND = "native nativesdk"
# EXTRA_OECMAKE += "-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY"
# EXTRA_OECMAKE += "-DSYSTEM_PROCESSOR=arm"
# EXTRA_OECMAKE += "-DCROSSCOMPILING=1"
# EXTRA_OECMAKE = "-DBUILD_TESTING=OFF"