diff options
author | Piotr Tworek <tworaz@tworaz.net> | 2019-08-22 18:42:07 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-08-24 05:20:42 -0700 |
commit | da61ce2396b7987e3dc6b9450292a14c750d0c71 (patch) | |
tree | 8ef60986df82698503ee790f2b560ec908b12bd9 /meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch | |
parent | 1e8bc46e55a707917bd7580e45333427e05846d1 (diff) | |
download | meta-openembedded-da61ce2396b7987e3dc6b9450292a14c750d0c71.tar.gz |
libmxml: Use autotools bbclass and cleanup the recipe a bit.
The package does use autotools based build systemd but it comes with a
bit of a twist. It explicitly disallows running autoheader on the source
tree. This can apparently be easilt accomplished with exclude parameter
passed via EXTRA_AUTORECONF.
This patch also adds PACKAGECONFIG option allowing the user to toggle
threading support in the library. Not sure how useful it is, but upstream
does offer such option, it works, and its not a lot of work to expose it
via PACKAGECONFIG.
Another improvement is related to package optimization handling.
mxml has a nasty habit of disregarding optimization flags passed by the
user. It always appends -Os -g to CFLAGS in its configure script. Its
a bit suprising to find out DEBUG_BUILD=1 in local.conf has no impact on
libraries produced by mxml recipe. This can be fixed with a simple sed
script.
Sed is also used to enable verbose compilation output. Having full
compiler invocations visible in the logs is generally useful, but
more importantly it allows some of the QA checks to their work.
While doing this cleanup I've also renamed the recipe from libxml_git.bb
to libxml_3.0.bb. The git keyword suggests this recipe is for some
random git snapshot, while in reality its for latest stable upstream
release of the package.
Last but not least this patch removes the bin package. Current versions of
mxml no longer provide any tools. The package was empty.
Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-dbusmock/0001-Add-functionality-to-add-own-objects-to-internal-obj.patch')
0 files changed, 0 insertions, 0 deletions