On Thu, Feb 19, 2015 at 11:39 AM, Paul Eggleton <[email protected]> wrote: > I've been attempting to enable usage of devtool with the kernel (which > effectively means using the externalsrc class with the kernel). This > doesn't really work yet due to lack of handling the kernel configuration,
I've always insisted/argued and designed in that externalsrc shouldn't touch the kernel configuration at all. You are building a tree that is completely managed outside of the build system, and getting the kernel configuration in place is part of that management. So I'm not convinced it is a problem that needs to be solved. Cheers, Bruce > so you still can't use externalsrc properly with the kernel, but this > at least gets us further - you can now extract the source successfully > and run a build. I also discovered and fixed a number of related issues > along the way, and made a few behavioural improvements in both devtool > and externalsrc. > > > The following changes since commit ad016fa7492ba23c751cf33dd1befde7782facfa: > > lzo: Upgrade to 2.09 and add ptest (2015-02-19 07:50:44 +0000) > > are available in the git repository at: > > git://git.openembedded.org/openembedded-core-contrib paule/devtool-fixes > > http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/devtool-fixes > > Paul Eggleton (15): > recipetool: fix regression caused by previous commit > lib/oe/patch: fix PATCHTOOL = "git" with source in a subdirectory > classes/externalsrc: fix source being wiped out on clean with kernel > classes/externalsrc: add workaround for recipes that use SRCPV in PV > classes/externalsrc: show a warning on compiling > classes/kernel-yocto: extend SRCTREECOVEREDTASKS > devtool: add/modify: add option to build in same directory > devtool: reset: run bitbake -c clean on recipe > devtool: build: run do_populate_sysroot instead of do_install > lib/oe/recipeutils: minor improvements to patch_recipe() > devtool: update-recipe: add handling for git recipes > devtool: prevent extract/modify use with image recipes > devtool: modify: handle recipes that use a shared workdir > devtool: support source extraction for recipes that use a shared > workdir > devtool: fix broken clones of git recipes > > meta/classes/externalsrc.bbclass | 24 ++++ > meta/classes/kernel-yocto.bbclass | 2 +- > meta/lib/oe/patch.py | 7 +- > meta/lib/oe/recipeutils.py | 4 +- > meta/lib/oeqa/selftest/devtool.py | 147 ++++++++++++++++++- > scripts/lib/devtool/standard.py | 292 > +++++++++++++++++++++++++------------- > scripts/lib/recipetool/create.py | 8 +- > 7 files changed, 377 insertions(+), 107 deletions(-) > > -- > 1.9.3 > > -- > _______________________________________________ > Openembedded-core mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
