From 037011da6490fd34e7a9f29c1eca3056ef5d904c Mon Sep 17 00:00:00 2001 From: Emekcan Date: Mon, 26 Sep 2022 13:15:20 +0100 Subject: [PATCH] arm-bsp/test: Adding a test app for external system Adds a linux userspace test application and a recipe to build it to test external system in corstone1000 platform. Signed-off-by: Emekcan Aras Signed-off-by: Jon Mason --- .../corstone1000-external-sys-tests_1.0.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-arm-bsp/recipes-test/corstone1000-external-sys-tests/corstone1000-external-sys-tests_1.0.bb diff --git a/meta-arm-bsp/recipes-test/corstone1000-external-sys-tests/corstone1000-external-sys-tests_1.0.bb b/meta-arm-bsp/recipes-test/corstone1000-external-sys-tests/corstone1000-external-sys-tests_1.0.bb new file mode 100644 index 00000000..04c0aae2 --- /dev/null +++ b/meta-arm-bsp/recipes-test/corstone1000-external-sys-tests/corstone1000-external-sys-tests_1.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "CORSTONE1000 external systems communications tests" +DESCRIPTION = "This is a Linux userspace tool to test the communication between Corstone1000 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;branch=master" +SRCREV = "2945cd92f7c6dbe4999ee72cd5cf1e2615eedba7" +PV .= "+git${SRCPV}" + +COMPATIBLE_MACHINE = "corstone1000" + +S = "${WORKDIR}/git" + +do_compile() { + ${CC} ${S}/test-app.c ${CFLAGS} ${LDFLAGS} -o ${S}/systems-comms-tests +} + +do_install() { + install -D -p -m 0755 ${S}/systems-comms-tests ${D}${bindir}/systems-comms-tests +}