[oe] [PATCH v3 1/1] am-benchmarks: Remove platform dependencies
Maupin, Chase
chase.maupin at ti.com
Thu Jun 30 13:57:19 UTC 2011
> -----Original Message-----
> From: openembedded-devel-bounces at lists.openembedded.org
> [mailto:openembedded-devel-bounces at lists.openembedded.org] On Behalf Of
> Jeff Lance
> Sent: Thursday, June 30, 2011 8:38 AM
> To: openembedded-devel at lists.openembedded.org
> Cc: Lance, Jeff
> Subject: [oe] [PATCH v3 1/1] am-benchmarks: Remove platform
> dependencies
>
> * Remove platform dependencies and use architecture dependencies
> instead
> * Use OE BASE_PACKAGE_ARCH to determine architecture
> * Update the SRCREV to revision 66
> * Update the recipe revision to 1.3
> * Removed INSANE_SKIP
> NOTE - architecture dependency can be removed once CFLAGS can be passed
> into CCSv5 project makefile
>
> Signed-off-by: Jeff Lance <j-lance1 at ti.com>
Acked-by: Chase Maupin <chase.maupin at ti.com>
> ---
> Update in version 3:
> Fix "sed" commands to apply to all dhrystone projects
> ---
> .../{am-benchmarks_1.2.bb => am-benchmarks_1.3.bb} | 27 ++++++++++--
> -------
> 1 files changed, 14 insertions(+), 13 deletions(-)
> copy recipes/ti/{am-benchmarks_1.2.bb => am-benchmarks_1.3.bb} (61%)
>
> diff --git a/recipes/ti/am-benchmarks_1.2.bb b/recipes/ti/am-
> benchmarks_1.3.bb
> similarity index 61%
> copy from recipes/ti/am-benchmarks_1.2.bb
> copy to recipes/ti/am-benchmarks_1.3.bb
> index 21e62a7..6070fe8 100644
> --- a/recipes/ti/am-benchmarks_1.2.bb
> +++ b/recipes/ti/am-benchmarks_1.3.bb
> @@ -8,30 +8,31 @@ LICENSE = "BSD"
> SECTION = "system"
> PRIORITY = "optional"
>
> -SRCREV = "61"
> +SRCREV = "66"
> 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=a
> nonymous;pswd=''"
>
> -S = "${WORKDIR}/trunk/${ARCHITECTURE}"
> +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}
> - make release
> + export ARCH=${BASE_PACKAGE_ARCH}
> + make release
> }
>
> do_install() {
> + export ARCH=${BASE_PACKAGE_ARCH}
> make DESTDIR=${D} install
> }
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list