summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-demos/recipes-examples/peekpoke/peekpoke.bb
blob: 31ed475d571f9d1ae1a1269be190092ae872122d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# This is the peekpoke apllication recipe
#
#

SUMMARY = "peekpoke application"
SECTION = "PETALINUX/apps"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "file://peek.c \
           file://poke.c \
           file://Makefile \
          "
S = "${UNPACKDIR}"
CFLAGS:prepend = "-I ${S}/include"
do_compile() {
        oe_runmake
}
do_install() {
        install -d ${D}${bindir}
        install -m 0755 ${S}/peek ${D}${bindir}
        install -m 0755 ${S}/poke ${D}${bindir}

}