]> code.ossystems Code Review - openembedded-core.git/commit
freetype: enable out-of-tree builds, and use host zlib
authorRoss Burton <ross.burton@intel.com>
Thu, 7 Jan 2016 21:13:07 +0000 (21:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Jan 2016 23:23:16 +0000 (23:23 +0000)
commit80b53d9366455f5e9f654fee53c685aa8fd365e7
treec27f4eeac594978d96998a02dcebed8771579dc6
parent0a556af62b509f9defd8ac5b3a6648bdfe1dff67
freetype: enable out-of-tree builds, and use host zlib

Add a few ${S} and ${B} to make out of tree builds work, and stop using
autotools-brokensep.  Annoyingly we still need to use a custom do_configure so
add a comment explaining why so someone else doesn't spend 30 minutes trying to
make it work.

Whilst here add a small patch so we don't need to tell the build where libtool
is, and remove class-native do_configure as it doesn't appear to be required
anymore.

At this point I started to get carried away.

The do_compile_prepend is redundant now that configure is being told what
compiler to use for build tools, so remove that.

Instead of using the integrated zlib fork, add a PACKAGECONFIG to use the zlib
we build and enable that by default.  Also add a disabled PACKAGECONFIG for
bzip2 support.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/freetype/freetype/use-right-libtool.patch [new file with mode: 0644]
meta/recipes-graphics/freetype/freetype_2.6.bb