summaryrefslogtreecommitdiff
path: root/recipes/efl1
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-01-05 20:52:57 +0100
committerKoen Kooi <koen@openembedded.org>2010-01-05 20:52:57 +0100
commit4d99d97baed0b1210ca2333ed346bd84896db43e (patch)
treece278e128bda6d8fb2618470aa077351f10c9903 /recipes/efl1
parenta3374cb8b7fedc796b7014dff81bcdbfd57aed96 (diff)
e17: bump SRCREV, enable fixed-point mode in edje according to target fpu setting
* tested on angstrom/beagleboard and angstrom/hawkboard
Diffstat (limited to 'recipes/efl1')
-rw-r--r--recipes/efl1/edje-fpu.inc6
-rw-r--r--recipes/efl1/edje_svn.bb7
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes/efl1/edje-fpu.inc b/recipes/efl1/edje-fpu.inc
new file mode 100644
index 0000000000..1af86e3cc0
--- /dev/null
+++ b/recipes/efl1/edje-fpu.inc
@@ -0,0 +1,6 @@
+
+def get_edje_fpu_setting(bb, d):
+ if bb.data.getVar('TARGET_FPU', d, 1) in [ 'soft' ]:
+ return "--enable-fixed-point"
+ return ""
+
diff --git a/recipes/efl1/edje_svn.bb b/recipes/efl1/edje_svn.bb
index a4453fc95a..433ded5764 100644
--- a/recipes/efl1/edje_svn.bb
+++ b/recipes/efl1/edje_svn.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Edje is the Enlightenment graphical design & layout library"
DEPENDS = "lua5.1 eet evas ecore embryo edje-native"
LICENSE = "MIT BSD"
PV = "0.9.92.060+svnr${SRCPV}"
-PR = "r4"
+PR = "r5"
inherit efl
@@ -21,6 +21,11 @@ do_compile_append() {
# and a possible source of bugs
#EXTRA_OECONF = "--enable-edje-program-cache"
+# Since r44323 edje has a fixed-point mode
+require edje-fpu.inc
+EXTRA_OECONF += "${@get_edje_fpu_setting(bb, d)}"
+
+
PACKAGES =+ "${PN}-utils"
RDEPENDS_${PN}-utils = "cpp cpp-symlinks embryo-tests"