All of lore.kernel.org
 help / color / mirror / Atom feed
From: fcooperjr27@gmail.com
To: meta-arago@arago-project.org
Cc: "Franklin S. Cooper Jr" <fcooper@ti.com>
Subject: [PATCH 03/18] arm-benchmarks_1.3: Tweak to allow am180x-evm to be built
Date: Mon, 11 Feb 2013 18:46:04 -0600	[thread overview]
Message-ID: <1360629979-24789-3-git-send-email-fcooper@ti.com> (raw)
In-Reply-To: <1360629979-24789-1-git-send-email-fcooper@ti.com>

From: Franklin S. Cooper Jr <fcooper@ti.com>

* Makefile expects armv5te for ARM9 devices which was done in oe-classic.
* In oe-core ARMPKGARCH only specifies armv5 for am180x-evm.
* Pass in ARCH=armv5te to make for omapl138 devices

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../arm-benchmarks/arm-benchmarks_1.3.bb           |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb b/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
index 9fda6b0..b19c1ed 100644
--- a/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
+++ b/meta-arago-extras/recipes-benchmark/arm-benchmarks/arm-benchmarks_1.3.bb
@@ -4,7 +4,7 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7aefb5e1cffc7b6a3ef18b803f957922"
 SECTION = "system"
 
-PR = "r2"
+PR = "r3"
 
 BRANCH ?= "master"
 SRCREV = "e9fbf7990e93d97e7471e509626969d244cca214"
@@ -13,14 +13,16 @@ SRC_URI = "git://gitorious.org/arm_benchmarks/arm_benchmarks.git;protocol=git;br
 
 S = "${WORKDIR}/git"
 
+PLATFORM_ARCH = "${ARMPKGARCH}"
+# Use ARCH format expected by the makefile
+PLATFORM_ARCH_omapl138 = "armv5te"
+
 do_compile() {
 	export CROSS_COMPILE=${TARGET_PREFIX}
-	export ARCH=${ARMPKGARCH}
 	# build the release version
-	make release
+	make ARCH=${PLATFORM_ARCH} release
 }
 
 do_install() {
-	export ARCH=${ARMPKGARCH}
-	make DESTDIR=${D} install
+	make ARCH=${PLATFORM_ARCH} DESTDIR=${D} install
 }
-- 
1.7.0.4



  parent reply	other threads:[~2013-02-12  0:46 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  0:46 [PATCH 01/18] linux-libc-headers: Add linux-libc-headers version 2.6.37.2 fcooperjr27
2013-02-12  0:46 ` [PATCH 02/18] ti-tisdk-makefile: Switch from ARMPKGARCH to PLATFORM_ARCH fcooperjr27
2013-02-12  0:46 ` fcooperjr27 [this message]
2013-02-12  0:46 ` [PATCH 04/18] sourceipk.bbclass: Provide the ability to change the source directory fcooperjr27
2013-02-12  0:46 ` [PATCH 05/18] ti-crypto-examples: Add ARM9 support fcooperjr27
2013-02-12  0:46 ` [PATCH 06/18] ti-crypto-examples: Tweak SRCIPK_SRC_DIR variable fcooperjr27
2013-02-12  0:46 ` [PATCH 07/18] arago.conf: Add SUPPORTS_SGX variable fcooperjr27
2013-02-15  3:39   ` Denys Dmytriyenko
2013-02-15  3:46     ` Cooper Jr., Franklin
2013-02-16  0:26   ` Paul Kovitz
2013-02-18 15:14     ` Cooper Jr., Franklin
2013-02-18 17:43       ` Denys Dmytriyenko
2013-02-18 18:34         ` Cooper Jr., Franklin
2013-02-12  0:46 ` [PATCH 08/18] recipes: Only pull in SGX related tasks if SUPPORTS_SGX is set to YES fcooperjr27
2013-02-12  0:46 ` [PATCH 09/18] tisdk-image.bbclass: Create SECONDARY_BOOTLOADER_NAME variable fcooperjr27
2013-02-12  0:46 ` [PATCH 10/18] arago-amsdk-image: Set SECONDARY_BOOTLOADER_NAME to empty string for omapl138 fcooperjr27
2013-02-12  0:46 ` [PATCH 11/18] tisdk-amsdk-sdk-host: Add flash utility to SDK fcooperjr27
2013-02-12  0:46 ` [PATCH 12/18] arago-tisdk-amsdk-sdk-host: Use generic name for kernel sources fcooperjr27
2013-02-15  3:42   ` Denys Dmytriyenko
2013-02-15  3:54     ` Cooper Jr., Franklin
2013-02-17 20:35       ` Denys Dmytriyenko
2013-02-17 21:07         ` Cooper Jr., Franklin
2013-02-17 21:29           ` Maupin, Chase
2013-02-17 21:35             ` Denys Dmytriyenko
2013-02-17 21:46               ` Maupin, Chase
2013-02-12  0:46 ` [PATCH 13/18] board-port-labs: Inherit allarch class fcooperjr27
2013-02-12  0:46 ` [PATCH 14/18] meta-toolchain-arago: Add cleanup_toolchain_packages fcooperjr27
2013-02-12  0:46 ` [PATCH 15/18] meta-toolchain-arago-tisdk: Set TOOLCHAIN_CLEANUP_PACKAGES fcooperjr27
2013-02-12  0:46 ` [PATCH 16/18] tisdk-image: Remove toolchain cleanup functionality fcooperjr27
2013-02-12  0:46 ` [PATCH 17/18] tisdk-image: Add support for new toolchain sdk structure fcooperjr27
2013-02-15 22:27   ` Denys Dmytriyenko
2013-02-12  0:46 ` [PATCH 18/18] sdk_rootfs_ipk: Pull in rootfs_ipk.bbclass from oe-core denzil fcooperjr27

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1360629979-24789-3-git-send-email-fcooper@ti.com \
    --to=fcooperjr27@gmail.com \
    --cc=fcooper@ti.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.