DESCRIPTION = "ARM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
SECTION = "system"

SRCREV = "76"
PR = "r0+svnr${SRCPV}"

SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''"

S = "${WORKDIR}/trunk"

do_compile() {
	export CROSS_COMPILE=${TARGET_PREFIX}
	export ARCH=${TUNE_PKGARCH}
	# build the release version
	make release
}

do_install() {
	export ARCH=${TUNE_PKGARCH}
	make DESTDIR=${D} install
}

DESCRIPTION = "ARM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
SECTION = "system"

SRCREV = "76"
PR = "r1+svnr${SRCPV}"

SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;protocol=https;user=anonymous;pswd=''"

S = "${WORKDIR}/trunk"

do_compile() {
	export CROSS_COMPILE=${TARGET_PREFIX}
	export ARCH=${ARMPKGARCH}
	# build the release version
	make release
}

do_install() {
	export ARCH=${ARMPKGARCH}
	make DESTDIR=${D} install
}

Fix compile and install issues
arm-benchmarks: Fix compile and install issues

* The TUNE_PKGARCH variable isn't providing the expected arch value. Switch to
  ARMPKGARCH since it returns the expected value.
* Spell out protocol to get rid of warning.

Signed-off-by: Franklin S Cooper Jr <b8c01a1703dc362919183054a071c1f348818c23@ti.com>
Acked-by: Chase Maupin <874d7d4fa211492c1868f6a91442712d37040f21@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
