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

PR = "r3"

BRANCH ?= "master"
SRCREV = "e9fbf7990e93d97e7471e509626969d244cca214"

SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

PLATFORM_ARCH = "${ARMPKGARCH}"
# Use ARCH format expected by the makefile
PLATFORM_ARCH_omapl138 = "armv5te"

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

do_install() {
	make ARCH=${PLATFORM_ARCH} 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"

PR = "r4"

BRANCH ?= "master"
SRCREV = "9b7b4fbde8fcf796a23da2a464dbf934e550f6c9"

SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

PLATFORM_ARCH = "${ARMPKGARCH}"
PLATFORM_ARCH_omapl138 = "armv5te"

do_compile() {
	export CROSS_COMPILE=${TARGET_PREFIX}
	# build the release version
	oe_runmake -C ${PLATFORM_ARCH} release
}

do_install() {
	oe_runmake -C ${PLATFORM_ARCH} DESTDIR=${D} install
}

Move makefiles into ARCH directory
arm-benchmarks: Move makefiles into ARCH directory

* Moving makefile into Architecture directory making it possible to install
  only one ARCH on a target system.
* Update Rules.make relative path

Signed-off-by: Jeff Lance <1f65ae864703160707afde1c899546bb901fc98c@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
