srctree: completely reimplement the task merging into do_populate_staging.
srctree: completely reimplement the task merging into do_populate_staging.

This fixes issues seen with the use of kernel.bbclass, so in existing source
tree kernel builds work happily now.

Signed-off-by: Chris Larson <8cf06b7089d5169434d5def8b2d1c9c9c95f6e71@mvista.com>

nzjrs/overo-openembedded,bticino/openembedded,anguslees/openembedded-android,xifengchuo/openembedded,JamesAng/oe,trini/openembedded,libo/openembedded,nx111/openembeded_openpli2.1_nx111,JamesAng/goe,SIFTeam/openembedded,Martix/Eonos,Martix/Eonos,philb/pbcl-oe-2010,anguslees/openembedded-android,dave-billin/overo-ui-moos-auv,scottellis/overo-oe,openpli-arm/openembedded,crystalfontz/openembedded,dellysunnymtech/sakoman-oe,Martix/Eonos,libo/openembedded,mrchapp/arago-oe-dev,libo/openembedded,trini/openembedded,mrchapp/arago-oe-dev,trini/openembedded,rascalmicro/openembedded-rascal,sentient-energy/emsw-oe-mirror,hulifox008/openembedded,xifengchuo/openembedded,BlackPole/bp-openembedded,libo/openembedded,mrchapp/arago-oe-dev,trini/openembedded,nzjrs/overo-openembedded,JamesAng/goe,giobauermeister/openembedded,mrchapp/arago-oe-dev,JamesAng/oe,JamesAng/oe,libo/openembedded,sledz/oe,JamesAng/goe,trini/openembedded,John-NY/overo-oe,scottellis/overo-oe,philb/pbcl-oe-2010,yyli/overo-oe,anguslees/openembedded-android,dave-billin/overo-ui-moos-auv,Martix/Eonos,anguslees/openembedded-android,buglabs/oe-buglabs,rascalmicro/openembedded-rascal,xifengchuo/openembedded,thebohemian/openembedded,sledz/oe,sledz/oe,BlackPole/bp-openembedded,philb/pbcl-oe-2010,philb/pbcl-oe-2010,rascalmicro/openembedded-rascal,hulifox008/openembedded,xifengchuo/openembedded,hulifox008/openembedded,bticino/openembedded,libo/openembedded,nx111/openembeded_openpli2.1_nx111,crystalfontz/openembedded,buglabs/oe-buglabs,SIFTeam/openembedded,nx111/openembeded_openpli2.1_nx111,nzjrs/overo-openembedded,SIFTeam/openembedded,openembedded/openembedded,dellysunnymtech/sakoman-oe,openembedded/openembedded,buglabs/oe-buglabs,Martix/Eonos,crystalfontz/openembedded,BlackPole/bp-openembedded,dave-billin/overo-ui-moos-auv,sledz/oe,JamesAng/oe,thebohemian/openembedded,philb/pbcl-oe-2010,SIFTeam/openembedded,John-NY/overo-oe,scottellis/overo-oe,sentient-energy/emsw-oe-mirror,sledz/oe,yyli/overo-oe,nx111/openembeded_openpli2.1_nx111,sentient-energy/emsw-oe-mirror,openpli-arm/openembedded,sutajiokousagi/openembedded,sampov2/audio-openembedded,mrchapp/arago-oe-dev,xifengchuo/openembedded,giobauermeister/openembedded,dave-billin/overo-ui-moos-auv,yyli/overo-oe,xifengchuo/openembedded,thebohemian/openembedded,openembedded/openembedded,openembedded/openembedded,sampov2/audio-openembedded,dellysunnymtech/sakoman-oe,JamesAng/goe,scottellis/overo-oe,Martix/Eonos,bticino/openembedded,sutajiokousagi/openembedded,JamesAng/goe,dave-billin/overo-ui-moos-auv,dellysunnymtech/sakoman-oe,sutajiokousagi/openembedded,openpli-arm/openembedded,nx111/openembeded_openpli2.1_nx111,openembedded/openembedded,BlackPole/bp-openembedded,sampov2/audio-openembedded,bticino/openembedded,xifengchuo/openembedded,yyli/overo-oe,openembedded/openembedded,Martix/Eonos,sutajiokousagi/openembedded,sutajiokousagi/openembedded,thebohemian/openembedded,John-NY/overo-oe,sentient-energy/emsw-oe-mirror,giobauermeister/openembedded,rascalmicro/openembedded-rascal,scottellis/overo-oe,JamesAng/oe,nzjrs/overo-openembedded,sampov2/audio-openembedded,BlackPole/bp-openembedded,SIFTeam/openembedded,JamesAng/oe,dellysunnymtech/sakoman-oe,trini/openembedded,hulifox008/openembedded,bticino/openembedded,thebohemian/openembedded,anguslees/openembedded-android,philb/pbcl-oe-2010,buglabs/oe-buglabs,philb/pbcl-oe-2010,nx111/openembeded_openpli2.1_nx111,sutajiokousagi/openembedded,rascalmicro/openembedded-rascal,rascalmicro/openembedded-rascal,anguslees/openembedded-android,trini/openembedded,dellysunnymtech/sakoman-oe,thebohemian/openembedded,BlackPole/bp-openembedded,xifengchuo/openembedded,scottellis/overo-oe,John-NY/overo-oe,dellysunnymtech/sakoman-oe,giobauermeister/openembedded,libo/openembedded,buglabs/oe-buglabs,bticino/openembedded,SIFTeam/openembedded,nzjrs/overo-openembedded,sentient-energy/emsw-oe-mirror,sentient-energy/emsw-oe-mirror,dave-billin/overo-ui-moos-auv,openembedded/openembedded,giobauermeister/openembedded,crystalfontz/openembedded,mrchapp/arago-oe-dev,BlackPole/bp-openembedded,hulifox008/openembedded,yyli/overo-oe,nx111/openembeded_openpli2.1_nx111,rascalmicro/openembedded-rascal,John-NY/overo-oe,openpli-arm/openembedded,sampov2/audio-openembedded,openembedded/openembedded,nzjrs/overo-openembedded,bticino/openembedded,yyli/overo-oe,yyli/overo-oe,openembedded/openembedded,giobauermeister/openembedded,SIFTeam/openembedded,sledz/oe,dellysunnymtech/sakoman-oe,openembedded/openembedded,buglabs/oe-buglabs,anguslees/openembedded-android,openpli-arm/openembedded,dave-billin/overo-ui-moos-auv,JamesAng/goe,openembedded/openembedded,openpli-arm/openembedded,buglabs/oe-buglabs,John-NY/overo-oe,JamesAng/goe,crystalfontz/openembedded,xifengchuo/openembedded,sampov2/audio-openembedded,rascalmicro/openembedded-rascal,John-NY/overo-oe,sampov2/audio-openembedded,nx111/openembeded_openpli2.1_nx111,crystalfontz/openembedded,hulifox008/openembedded,yyli/overo-oe,thebohemian/openembedded,mrchapp/arago-oe-dev,crystalfontz/openembedded,nzjrs/overo-openembedded,hulifox008/openembedded,giobauermeister/openembedded,sentient-energy/emsw-oe-mirror,JamesAng/oe,giobauermeister/openembedded,dellysunnymtech/sakoman-oe,buglabs/oe-buglabs,sledz/oe,scottellis/overo-oe,sutajiokousagi/openembedded,openpli-arm/openembedded,giobauermeister/openembedded