[OE-core] [PATCH v2] directfb: Allow native builds of directfb 1.7.6

Andre McCurdy armccurdy at gmail.com
Tue Mar 10 22:32:29 UTC 2015


On Tue, Mar 10, 2015 at 3:04 PM, Florian Boor
<florian.boor at kernelconcepts.de> wrote:
> From: Florian Boor <florian at kernelconcepts.de>
>
> Required by some DirectFB applications like dfbsee.
>
> Signed-off-by: Florian Boor <florian at kernelconcepts.de>
> ---
>  meta/recipes-graphics/directfb/directfb_1.7.6.bb |   14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/meta/recipes-graphics/directfb/directfb_1.7.6.bb b/meta/recipes-graphics/directfb/directfb_1.7.6.bb
> index d25d987..7acb7e6 100644
> --- a/meta/recipes-graphics/directfb/directfb_1.7.6.bb
> +++ b/meta/recipes-graphics/directfb/directfb_1.7.6.bb
> @@ -19,3 +19,17 @@ LEAD_SONAME = "libdirectfb-1.7.so.0"
>
>  SRC_URI[md5sum] = "8a7bb06b3f58599b230b4cf314004512"
>  SRC_URI[sha256sum] = "44f32bacfb842ea234599532f8481fe41b5bd2310d2bd101508eb3a5df26c9e1"
> +
> +BBCLASSEXTEND = "native"
> +DEPENDS_class-native = "jpeg-native libpng-native"

Are you sure that excluding tslib-native from DEPENDS works? Since
-lts is hardcoded in LDFLAGS (see directfb.inc) the linker won't run
unless libts.so is found in sysroot (regardless of whether or not you
configure with "--with-inputdrivers=none"). That being said, I don't
know if -lts really needs to be hardcoded in LDFLAGS, it's been there
since directfb was first imported into oe-core, with no explanation of
comment.

> +EXTRA_OECONF_class-native = "\
> +  --enable-freetype=no \
> +  --disable-zlib \
> +  --with-gfxdrivers=none \
> +  --disable-sdl \
> +  --disable-vnc \
> +  --disable-x11 \
> +  --disable-imlib2 \
> +  --disable-mesa \
> +  --with-inputdrivers=none \
> +"
> --
> 1.7.10.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list