[OE-core] any easy way to run kern-tools verbosely?
Bruce Ashfield
bruce.ashfield at gmail.com
Wed Jul 18 18:34:43 UTC 2012
On Wed, Jul 18, 2012 at 2:29 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> On Wed, 18 Jul 2012, Bruce Ashfield wrote:
>
>> On Wed, Jul 18, 2012 at 2:02 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>> >
>> > if there's a way to do this, i'm going to be so embarrassed.
>> > perusing kernel do_patch() routine, which eventually calls:
>> >
>> > if [ -n "${KMETA}" ]; then
>> > createme_flags="--disable-meta-gen"
>> > fi
>> > createme ${createme_flags} ${ARCH} ${kbranch}
>> >
>> > but checking out "createme" in the sysroots/ directory shows:
>> >
>> > usage()
>> > {
>> > cat << EOF
>> >
>> > createme [-v] [--disable-meta-gen] --meta=<branch name> <arch> <branch> [defconfig]
>> >
>> > --disable-meta-gen: do not automatically create meta data
>> > if not already present in the source tree.
>> > --meta: the branch name for meta data. default is 'meta'
>> > -v: verbose processing
>> > ... snip ...
>> >
>> > so "createme" accepts "-v" for verbose, but i see no trivially
>> > easy way to pass that option given the hardcoding of the call in
>> > do_patch(). are you just expected to manually edit createme to do
>> > that?
>>
>> They are only useful for debugging at the moment, which is me :) So
>> honestly, there's never been a reason to complicate the reciepes any
>> more by dragging these options out to that level.
>
> ok, just wanted to make sure i wasn't missing something deviously
> complicated. thanks muchly.
I won't claim that there's nothing devious lurking ;)
Cheers,
Bruce
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the Openembedded-core
mailing list