aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-applications/gpio-test/gpio-test_1.0.bb
blob: 9b1c1f5a55fa27cc0782c2c37af66f2fd310ac17 (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
26
27
28
29
DESCRIPTION = "Sample application for AMD GPIO driver"
SECTION = "applications"
LICENSE = "BSD"
DEPENDS = "readline"
LIC_FILES_CHKSUM = "\
		    file://gpio-test.c;md5=35bd4f849bf7b97ea60ecf724ff7d228 \
		    file://gpio-test.h;md5=c7aaa743b172cf584032f9bfc5e85044 \
		   "

PR = "r1"
PV = "1.0"

SRC_URI = "\
	   file://gpio-test.c \
	   file://gpio-test.h \
	  "

TARGET_CC_ARCH += "${LDFLAGS}"

S = "${WORKDIR}"

do_compile() {
	${CC} gpio-test.c -o gpio-test -lreadline
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 gpio-test ${D}${bindir}
}