mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
cairo: merge cairo-fpu.inc into cairo.inc
(From OE-Core rev: 88cc5d488d5e187852fc10086a1afce6dcfc4cd6) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
cd28f5fbf7
commit
4304d0bfd8
@@ -1,6 +0,0 @@
|
||||
|
||||
def get_cairo_fpu_setting(bb, d):
|
||||
if d.getVar('TARGET_FPU') in [ 'soft' ]:
|
||||
return "--disable-some-floating-point"
|
||||
return ""
|
||||
|
||||
@@ -33,11 +33,10 @@ PACKAGECONFIG[egl] = "--enable-egl=yes,--disable-egl,virtual/egl"
|
||||
PACKAGECONFIG[glesv2] = "--enable-glesv2,--disable-glesv2,virtual/libgles2"
|
||||
PACKAGECONFIG[opengl] = "--enable-gl,--disable-gl,virtual/libgl"
|
||||
|
||||
#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points
|
||||
require cairo-fpu.inc
|
||||
EXTRA_OECONF += "${@get_cairo_fpu_setting(bb, d)} \
|
||||
--enable-tee \
|
||||
"
|
||||
EXTRA_OECONF += " \
|
||||
${@bb.utils.contains('TARGET_FPU', 'soft', '--disable-some-floating-point', '', d)} \
|
||||
--enable-tee \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig upstream-version-is-even gtk-doc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user