aboutsummaryrefslogtreecommitdiffstats
path: root/meta-steppeeagle/recipes-applications/rtc-test/rtc-test_1.0.bb
blob: 868c63c95fe9418593fcba410428a7a91bbe6efe (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 RTC driver"
SECTION = "applications"
LICENSE = "BSD"
DEPENDS = "readline"
LIC_FILES_CHKSUM = "file://rtc-test.c;md5=cdf9bfd59714d20025056dbfaaf31134"

PR = "r1"
PV = "1.0"

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

S = "${WORKDIR}"

TARGET_CC_ARCH += "${LDFLAGS}"

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

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