SUMMARY = "vrpmdv-py-rtservice recipe"
DESCRIPTION = "Recipe to add vrpmdv-py-rtservice 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/rt_service.cpp \
    file://src/monitoringTask/RTSMonitoringTask.cpp \            
    file://src/utilities/RTSCoproHelper.cpp \            
    file://include/RTSCoproHelper.h \
    file://include/RTSMonitoringTask.h \ 
    file://include/RelGILLock.h \
    file://src/utilities/RelGILLock.cpp \
    file://include/GILLock.h \
    file://src/utilities/GILLock.cpp \
"


S = "${WORKDIR}"

# ELFDESTINATION = "~/elffile"


# FILES:${PN} += "${DESTINATION}"

FILES:${PN} = "${WORKDIR}/build"

# do_install () {
#    install -d ${D}${ELFDESTINATION}
#    install -m 0644 ${WORKDIR}/*.elf ${D}/${ELFDESTINATION}     
#    
#}

# do_install() {
#    install -d ${D}${libdir}
#    install -m 0644 ${WORKDIR}/build/rt_service.so ${D}${libdir}/
# }


# RDEPENDS:${PN} += " perl"
# RDEPENDS:${PN} += " boost"

BBCLASSEXTEND = "native "
# BBCLASSEXTEND = "native nativesdk"

