Skip to contentSkip to conversation

How to include python-misc in SDK?

DISCUSSION Philipp Wagner 2 participants 2 messages Sep 8, 2013 – Sep 9, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to build a SDK, which I can use to develop software for an image. I'm running

bitbake -c populate_sdk my-image-name

Afterwards I get a nice SDK, but I cannot really use it. The the software I'm building needs (on the host) the Python module "filecmp". This module is packaged inside python-misc, or nativesdk-python-misc, as far as I can tell.

Right now the SDK contains some basic Python, but not this module, and since the PATH is set in a way that the build uses the python inside the SDK, my builds fail.

So what do I need to do to get this package included in my SDK?

Philipp

#1 lore raw
Quoted 12 lines · Philipp Wagner

Hi,

I'm trying to build a SDK, which I can use to develop software for an image. I'm running

bitbake -c populate_sdk my-image-name

Afterwards I get a nice SDK, but I cannot really use it. The the software I'm building needs (on the host) the Python module "filecmp". This module is packaged inside python-misc, or nativesdk-python-misc, as far as I can tell.

Quoted 5 lines

Right now the SDK contains some basic Python, but not this module, and since the PATH is set in a way that the build uses the python inside the SDK, my builds fail.

So what do I need to do to get this package included in my SDK?

Try adding the following line in your local.conf. TOOLCHAIN_HOST_TASK_append = " nativesdk-python-misc"

Cheers,
Chen Qi

Quoted 7 lines

Philipp
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto