On Friday 05 July 2013 03:28:21 Martin Jansa wrote:
> I was using simple script to build each component alone:
> 
> #!/bin/bash
> 
> rm -rf tmp-eglibc/abi_version tmp-eglibc/buildstats tmp-eglibc/cache
> tmp-eglibc/deploy tmp-eglibc/log tmp-eglibc/pkgdata pseudodone
> tmp-eglibc/saved_tmpdir tmp-eglibc/sstate-control tmp-eglibc/stamps
> tmp-eglibc/sysroots tmp-eglibc/work-shared tmp-eglibc/work/* rm -rf log.*
> 
> ls -d buildhistory/packages/*/* | xargs -n 1 basename | sort -u >
> component.list ncomponents=`cat component.list | wc -l`
> i=1
> for component in `cat component.list`; do
>   echo "Building component: ${component} ($i/$ncomponents)"
>   bitbake -c cleansstate ${component} | tee log.${component};
>   bitbake ${component} | tee -a log.${component};
>   rm -rf tmp-eglibc/abi_version tmp-eglibc/buildstats tmp-eglibc/cache
> tmp-eglibc/deploy tmp-eglibc/log tmp-eglibc/pkgdata pseudodone
> tmp-eglibc/saved_tmpdir tmp-eglibc/sstate-control tmp-eglibc/stamps
> tmp-eglibc/sysroots tmp-eglibc/work-shared tmp-eglibc/work/* i=`expr $i +
> 1`
> done

A cleaned up form of this would be a great addition to the scripts/contrib 
directory if you have time...

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to