]> code.ossystems Code Review - openembedded-core.git/commit
binconfig-disabled: install config scripts in sysroot
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 23 Jan 2015 14:48:18 +0000 (06:48 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Jan 2015 21:23:02 +0000 (21:23 +0000)
commit822df6d23c9c24e131c38fda9f0012c47ad7af46
treef8609aedf44543be8167635da46c1ff4a07bc015
parentd1ff61a16a3fcfdd7cf882bc89fb1d164cb1603a
binconfig-disabled: install config scripts in sysroot

The purpose of binconfig-disabled is to manipulate config scripts such that
using them causes errors. But that only works when the modified config script
really gets installed in the sysroot. That is not the case with the staging
code in binconfig.bbclass.

Only patched config files get staged. For that reason it seemed more
appropriate to change binconfig-disabled instead of binconfig.

The reason for the change was the observation that the swig recipe needs
pcre-config installed on the host system. Staging pcre-config removes that
host dependency. swig did not actually end up *using* the pcre-config from the
host, because later during do_compile the patched configure.ac is used to
re-generate configure.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/binconfig-disabled.bbclass