From 92c097105571c08ee40d7a81251991a3d1937c10 Mon Sep 17 00:00:00 2001 From: Abdellatif El Khlifi Date: Wed, 21 Oct 2020 18:10:33 +0100 Subject: [PATCH] arm-bsp/corstone700-test-app: adding test recipe for systems comms This commit provides a recipe that generates a Linux userspace application used for testing the communication between Corstone700 cores. Change-Id: I7c00653b0fcd6d9074510bbb70a838762aed0150 Signed-off-by: Abdellatif El Khlifi Signed-off-by: Jon Mason --- .../corstone700-test-app_1.0.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-arm-bsp/recipes-test/corstone700-test-app/corstone700-test-app_1.0.bb diff --git a/meta-arm-bsp/recipes-test/corstone700-test-app/corstone700-test-app_1.0.bb b/meta-arm-bsp/recipes-test/corstone700-test-app/corstone700-test-app_1.0.bb new file mode 100644 index 00000000..d2bfb19f --- /dev/null +++ b/meta-arm-bsp/recipes-test/corstone700-test-app/corstone700-test-app_1.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "CORSTONE700 systems communications tests" +DESCRIPTION = "This is a Linux userspace tool to test the communication between Corstone700 cores" +HOMEPAGE = "https://git.linaro.org/landing-teams/working/arm/test-apps.git" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://license.md;md5=e44b2531cd6ffe9dece394dbe988d9a0" + +SRC_URI = "git://git.linaro.org/landing-teams/working/arm/test-apps.git;protocol=https" +SRCREV = "ecd93a275d11cf08f670a97783110bd698250963" +PV .= "~git${SRCPV}" + +COMPATIBLE_MACHINE = "(corstone700)" + +S = "${WORKDIR}/git" + +do_compile() { + ${CC} ${S}/test-app.c ${CFLAGS} ${LDFLAGS} -o ${S}/test-app +} + +do_install() { + install -D -p -m 0755 ${S}/test-app ${D}${bindir}/test-app +}