#NOTE: This package is currently only supported for the Angstrom
#      distribution.  Other distributions and toolchains may or
#      may not work.

DESCRIPTION = "AM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"

SRCREV = "59"
PR = "r2+svnr${SRCPV}"

COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)"

ARCHITECTURE_dm365 = "arm9"
ARCHITECTURE_omapl138 = "arm9"
ARCHITECTURE_omap3 = "cortex-a8"
ARCHITECTURE_ti816x = "cortex-a8"

INSANE_SKIP_${PN} = "True"

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

S = "${WORKDIR}/trunk/${ARCHITECTURE}"

do_compile() {
	# don't build debug version
	touch debug
	export CROSS_COMPILE=${TARGET_PREFIX}
	make release
}

do_install() {
	make DESTDIR=${D} install
}

#NOTE: This package is currently only supported for the Angstrom
#      distribution.  Other distributions and toolchains may or
#      may not work.

DESCRIPTION = "AM Benchmarks"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/"
LICENSE = "BSD"
SECTION = "system"
PRIORITY = "optional"

SRCREV = "60"
PR = "r2+svnr${SRCPV}"

COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)"

ARCHITECTURE_dm365 = "arm9"
ARCHITECTURE_omapl138 = "arm9"
ARCHITECTURE_omap3 = "cortex-a8"
ARCHITECTURE_ti816x = "cortex-a8"
ARCHITECTURE_ti814x = "cortex-a8"

INSANE_SKIP_${PN} = "True"

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

S = "${WORKDIR}/trunk/${ARCHITECTURE}"

do_compile() {
	# don't build debug version
	touch debug
	export CROSS_COMPILE=${TARGET_PREFIX}
	make release
}

do_install() {
	make DESTDIR=${D} install
}

Add support for am387x-evm machine
am-benchmarks: Add support for am387x-evm machine

* Add support in this recipe for the am387x-evm machine
  type.
* Bump the PR.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>
