On Tue, Oct 19, 2010 at 12:13 PM, Khem Raj <[email protected]> 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
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel