aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-applications/watchdog-test/watchdog-test_1.0.bb
blob: f82fb6517d2526455cb89e3a7a125d4f1cde74f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Sample application for AMD Watchdog driver"
SECTION = "applications"
LICENSE = "BSD"
DEPENDS = "readline"
LIC_FILES_CHKSUM = "file://watchdog-test.c;md5=1d81025de7376754875ee74378f07d7a"

PR = "r1"
PV = "1.0"

SRC_URI = "file://watchdog-test.c"

S = "${WORKDIR}"

TARGET_CC_ARCH += "${LDFLAGS}"

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

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