On 25 March 2011 03:04, Khem Raj <[email protected]> wrote: > On (23/03/11 20:45), Khem Raj wrote: >> Hi >> >> I am facing a strange problem. I am trying to add a small python function to >> qemu.inc and bitbake keeps telling me this >> >> NOTE: Out of date cache found, rebuilding... >> ERROR: Error parsing >> /home/kraj/work/newoe/sources/openembedded-core/meta/recipes-devtools/qemu/qemu_git.bb: >> Failure expanding variable EXTRA_OECONF, expression was >> ${@get_qemu_target_list(d)} --disable-werror --disable-vnc-tls >> --enable-kvm --audio-drv-list=oss,alsa --audio-card-list=ac97,es1370 >> which triggered exception NameError: name 'get_qemu_target_list' is not >> defined >> ERROR: Command execution failed: Exited with 1 >> >> >> Now if I move this function into a separate file say qemu-targets.inc >> and require qemu-targets.inc inside qemu.inc then it works correctly >> >> There is similar kind of code in gcc-common.inc which is used in >> different inc files in gcc. I tried to use the python function defined >> in gcc-common.inc in same gcc-common.inc file and it worked so I dont >> know why qemu.inc case is special. >> >> Any insights ? > > Forgot to attach the patch. Here it is this time >
Still ENOPATCH. Is the mailing list stripping it? _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
