* When building from OE CFLAGS will be passed in.
* When building from within the sdk CFLAGS from Rules.make will be used.
* This insures the optimal CFLAGS are used which corrects optimization and also
  the correct toolchain settings (ie softfp/hardfp) are used.

Signed-off-by: Franklin S. Cooper Jr <[email protected]>
---
 .../ti-crypto-examples/ti-crypto-examples_git.bb   |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb 
b/meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb
index 648d7dd..78f2d32 100644
--- 
a/meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb
+++ 
b/meta-arago-extras/recipes-core/ti-crypto-examples/ti-crypto-examples_git.bb
@@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = 
"file://armv5te/AES/aes_256.c;beginline=9;endline=35;md5=8edb
 SECTION = "console"
 DEPENDS += "openssl"
 
-PR = "r3"
+PR = "r4"
 
 BRANCH ?= "master"
-SRCREV = "95007ae6a4284841e624680afff8e0859f28d429"
+SRCREV = "ade3446fda75f4e07262b6162343a1b8d85521cb"
 
 SRC_URI = 
"git://arago-project.org/git/projects/crypto-example-apps.git;protocol=git;branch=${BRANCH}"
 
@@ -23,7 +23,8 @@ SOURCE_DIR_omapl138 = "${S}/armv5te"
 
 do_compile() {
     cd ${SOURCE_DIR}
-
+    export CROSS_COMPILE=${TARGET_PREFIX}
+    export CFLAGS='${TARGET_CC_ARCH}'
     # build the release version
     oe_runmake release
 }
-- 
1.7.0.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to