summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb')
-rw-r--r--meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb b/meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb
new file mode 100644
index 0000000..8fb0198
--- /dev/null
+++ b/meta-rcar-gen3/recipes-bsp/qos/qosif-tp-user-module.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "QOS Interface test app for R-Car Gen3"
+
+require qosif.inc
+
+DEPENDS = "qosif-user-module"
+PN = "qosif-tp-user-module"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+QOSIF_TP_DIR = "qos_if-tp-user/files/qos_if"
+
+includedir = "${RENESAS_DATADIR}/include"
+
+do_compile() {
+ cd ${S}/${QOSIF_TP_DIR}
+ oe_runmake
+}
+
+do_install() {
+ # Create destination directory
+ install -d ${D}${RENESAS_DATADIR}/bin/
+
+ # Copy user test program
+ install -m 755 ${S}/${QOSIF_TP_DIR}/qos_tp ${D}${RENESAS_DATADIR}/bin/
+}
+
+PACKAGES = " \
+ ${PN} \
+ ${PN}-dbg \
+"
+
+FILES_${PN} = "${RENESAS_DATADIR}/bin/qos_tp"
+
+FILES_${PN}-dbg = " \
+ ${RENESAS_DATADIR}/bin/.debug/* \
+"