summaryrefslogtreecommitdiff
path: root/packages/cpubench/cpubench_06.bb
blob: 82735310b6e6efa4874ed181f749ec7dbd7184dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
DESCRIPTION = "OpenWRT's CPU Benchmark"
HOMEPAGE = "http://wiki.openwrt.org/HardwarePerformance"
LICENSE = "GPL"
SECTION = "devel"

SRC_URI = "file://openwrt_cpu_bench_v06.c"

do_compile() {
	${CC} -O0 ${LDFLAGS} ${WORKDIR}/openwrt_cpu_bench_v06.c -o cpubench
}

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