diff options
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.bb | 23 |
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 | |||
| 6 | SUMMARY = "gpio-demo application" | ||
| 7 | SECTION = "PETALINUX/apps" | ||
| 8 | LICENSE = "MIT" | ||
| 9 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
| 10 | SRC_URI = "file://gpio-demo.c \ | ||
| 11 | file://Makefile \ | ||
| 12 | " | ||
| 13 | S = "${WORKDIR}" | ||
| 14 | CFLAGS:prepend = "-I ${S}/include" | ||
| 15 | do_compile() { | ||
| 16 | oe_runmake | ||
| 17 | } | ||
| 18 | do_install() { | ||
| 19 | install -d ${D}${bindir} | ||
| 20 | install -m 0755 ${S}/gpio-demo ${D}${bindir} | ||
| 21 | |||
| 22 | } | ||
| 23 | |||
