diff options
Diffstat (limited to 'meta-steppeeagle/recipes-applications/spi-test/spi-test_1.0.bb')
-rw-r--r-- | meta-steppeeagle/recipes-applications/spi-test/spi-test_1.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-steppeeagle/recipes-applications/spi-test/spi-test_1.0.bb b/meta-steppeeagle/recipes-applications/spi-test/spi-test_1.0.bb new file mode 100644 index 00000000..83593cb4 --- /dev/null +++ b/meta-steppeeagle/recipes-applications/spi-test/spi-test_1.0.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "Sample application for AMD SPI driver" +SECTION = "applications" +LICENSE = "BSD" +DEPENDS = "readline" +LIC_FILES_CHKSUM = "file://spirom-test.c;md5=c6d80587d583668ffbfb5828abd58878 \ + file://spirom.h;md5=56f117ed31b82b02182c7a491364d112 \ + " + +PR = "r1" +PV = "1.0" + +SRC_URI = "file://spirom-test.c \ + file://spirom.h \ + " + +S = "${WORKDIR}" + +TARGET_CC_ARCH += "${LDFLAGS}" + +do_compile() { + ${CC} spirom-test.c -o spirom-test -lreadline +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 spirom-test ${D}${bindir} +} |