[oe] [PATCH 2/2] gcc-configure-target.inc: Filter out --with-sysroot
Chris Larson
clarson at kergoth.com
Tue Oct 19 20:14:01 UTC 2010
On Tue, Oct 19, 2010 at 12:13 PM, Khem Raj <raj.khem at gmail.com> wrote:
> +python __anonymous () {
> + cfg = oe_filter_out('^--with-sysroot
> , bb.data.getVar('CONFIGUREOPTS', d, 1) or "", d)
> + bb.data.setVar('CONFIGUREOPTS', cfg, d)
> +}
Try this instead, *after* the inherit of autotools, to avoid the anonymous
python:
CONFIGUREOPTS := "${@oe_filter_out('--with-sysroot=', '${CONFIGUREOPTS}',
d)}"
(also note the ^ isn't necessary, filter_out uses re.match(), not
re.search(), so its required to match at the beginning of the word)
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
More information about the Openembedded-devel
mailing list