#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 = "66" PR = "r2+svnr${SRCPV}" SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" S = "${WORKDIR}/trunk" do_configure() { # Find all the objects.mk files for the Release target files=`find ${BASE_PACKAGE_ARCH} -name "objects.mk" | grep Release` for f in $files do sed -i -e 's|LIBS :=|LIBS := ${LDFLAGS} |' $f done } do_compile() { # don't build debug version touch debug export CROSS_COMPILE=${TARGET_PREFIX} export ARCH=${BASE_PACKAGE_ARCH} make release } do_install() { export ARCH=${BASE_PACKAGE_ARCH} make DESTDIR=${D} install }