* 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.
---
.../av-examples/av-examples_1.0.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git
a/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
b/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
index 3782cba..dec17a8 100644
--- a/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
+++ b/meta-arago-extras/recipes-multimedia/av-examples/av-examples_1.0.bb
@@ -12,7 +12,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(omap3)"
BRANCH ?= "master"
-SRCREV = "ac75d09d29a805d89c49dd2741b79f3069e97827"
+SRCREV = "87469a47bf91d681f15f0a2eb368fe695b21508c"
SRC_URI =
"git://gitorious.org/av_examples/av_examples.git;protocol=git;branch=${BRANCH}"
@@ -24,6 +24,7 @@ INSANE_SKIP_${PN} = "True"
do_compile() {
touch debug
export CROSS_COMPILE=${TARGET_PREFIX}
+ export CFLAGS='${TARGET_CC_ARCH}'
make release LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}"
PLATFORM="${MACHINE}"
}
--
1.7.0.4
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago