diff options
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/cairo/cairo-fpu.inc | 6 | ||||
-rw-r--r-- | meta/recipes-graphics/cairo/cairo.inc | 9 |
2 files changed, 4 insertions, 11 deletions
diff --git a/meta/recipes-graphics/cairo/cairo-fpu.inc b/meta/recipes-graphics/cairo/cairo-fpu.inc deleted file mode 100644 index fe7c53337a..0000000000 --- a/meta/recipes-graphics/cairo/cairo-fpu.inc +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | |||
2 | def get_cairo_fpu_setting(bb, d): | ||
3 | if d.getVar('TARGET_FPU') in [ 'soft' ]: | ||
4 | return "--disable-some-floating-point" | ||
5 | return "" | ||
6 | |||
diff --git a/meta/recipes-graphics/cairo/cairo.inc b/meta/recipes-graphics/cairo/cairo.inc index 7347f223ff..b432da0166 100644 --- a/meta/recipes-graphics/cairo/cairo.inc +++ b/meta/recipes-graphics/cairo/cairo.inc | |||
@@ -33,11 +33,10 @@ PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl" | |||
33 | PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" | 33 | PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2" |
34 | PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" | 34 | PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl" |
35 | 35 | ||
36 | #check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points | 36 | EXTRA_OECONF += " \ |
37 | require cairo-fpu.inc | 37 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \ |
38 | EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)} \ | 38 | --enable-tee \ |
39 | --enable-tee \ | 39 | " |
40 | " | ||
41 | 40 | ||
42 | inherit autotools pkgconfig upstream-version-is-even gtk-doc | 41 | inherit autotools pkgconfig upstream-version-is-even gtk-doc |
43 | 42 | ||