summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb')
-rw-r--r--meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb23
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb b/meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb
new file mode 100644
index 00000000..912e0cd4
--- /dev/null
+++ b/meta-xilinx-demos/recipes-examples/gpio-demo/gpio-demo.bb
@@ -0,0 +1,23 @@
1#
2# This is the GPIO-DEMO apllication recipe
3#
4#
5
6SUMMARY = "gpio-demo application"
7SECTION = "PETALINUX/apps"
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
10SRC_URI = "file://gpio-demo.c \
11 file://Makefile \
12 "
13S = "${WORKDIR}"
14CFLAGS:prepend = "-I ${S}/include"
15do_compile() {
16 oe_runmake
17}
18do_install() {
19 install -d ${D}${bindir}
20 install -m 0755 ${S}/gpio-demo ${D}${bindir}
21
22}
23