[OE-core] [PATCH 1/2] image: populate site config files into roootfs.
Lu, Lianhao
lianhao.lu at intel.com
Fri Aug 12 02:22:40 UTC 2011
Saul Wold wrote on 2011-08-12:
> On 08/11/2011 06:09 PM, Lu, Lianhao wrote:
>> Phil Blundell wrote on 2011-08-11:
>>> On Thu, 2011-08-11 at 22:31 +0800, Lianhao Lu wrote:
>>>> [YOCTO #892] populate the site config files content into the file
>>>> in {target}/cross_site_config in rootfs, which can be used by the
>>>> cross toolchain in meta-toolchain when the rootfs is used as sysroot.
>>>
>>> Is that going to cause ${datadir}/cross_site_config to get created
>>> in all rootfs images? That would be undesirable, but I couldn't
>>> obviously see a flag to turn it on and off.
>>>
>>
>> We can add flag to turn it on and off. But the problem is that in that
>> case, the user need to build 2 image rootfs, one for running and one
>> for cross compiling.
>>
> Lianhao,
>
> This is only required for toolchain, is there a way to create the
> externally from the rootfs and package it with the ADT? The problem
> here is that you will add space to the image (not sure how big), maybe
> this only make set to be and IMAGE_FEATURE for -dev or -sdk images,
> just as we add the -dev and -dbg packages to only those images?
>
Its about 50KB for core-image-sato-sdk. Having them in a separate package seems not feasible now, because we can't make sure the package is generated after all other packages have finished their populate-sysroot tasks. But it's a good idea to populate the site config files only into the -dev or -sdk images. I'll rework the patch.
Best Regards,
Lianhao
More information about the Openembedded-core
mailing list