]> code.ossystems Code Review - openembedded-core.git/commitdiff
libxml-parser-perl: add expat/Makefile dependency
authorJoe Slater <jslater@windriver.com>
Mon, 21 Nov 2016 19:04:20 +0000 (11:04 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Nov 2016 15:47:10 +0000 (15:47 +0000)
The file Expat.bs (which is empty!) is created by BOOTSTRAP,
but is deleted by INST_DYNAMIC.  Make sure we are not creating
and deleting it at the same time.

Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/perl/libxml-parser-perl_2.44.bb

index 3acd82686843083fa212cf1d87503a88121631a5..ab9e5faa514199cdf7836c06ca8858c7719ea86e 100644 (file)
@@ -20,6 +20,8 @@ inherit cpan
 do_configure_append() {
        sed 's:--sysroot=.*\(\s\|$\):--sysroot=${STAGING_DIR_TARGET} :g' -i Makefile Expat/Makefile
        sed 's:^FULL_AR = .*:FULL_AR = ${AR}:g' -i Expat/Makefile
+       # make sure these two do not build in parallel
+       sed 's!^$(INST_DYNAMIC):!$(INST_DYNAMIC): $(BOOTSTRAP)!' -i Expat/Makefile
 }
 
 do_compile() {