[OE-core] what's the point of the "defconfig" arg to check_branch?

Bruce Ashfield bruce.ashfield at gmail.com
Sat Jul 21 14:03:32 UTC 2012


On Sat, Jul 21, 2012 at 9:44 AM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
>   in the createme() kern-tools utility:
>
> # checks and creates the branch that was indicated when creatme was
> # called. This branch is what is expected to contain the kernel content
> # being built
> check_branch() {
>         branch=$1
>         defconfig=$2   <-- ??????
>
>         ktgt=$branch
>
>         old_pwd=`pwd`
>         git show-ref --quiet --verify -- "refs/heads/$ktgt"
>         if [ $? -eq 1 ]; then
>                 if [ "$repo" == "external" ]; then
>                         git checkout -b $ktgt
>                 fi
>                 mkdir -p $meta_dir/cfg/scratch/obj
>         else
>                 # branch exists. Are we an 'external repo' ?
>                 if [ "$repo" == "external" ]; then
>                         git checkout $ktgt
>                 fi
>         fi
>
>         cd $old_pwd
> }
>
>   it doesn't seem like that second argument is being used, and i don't
> see anything in the log that explains it, but perhaps i just missed
> it.

It used to be used to propagate a defconfig into the build, but not
anymore. Just
a leftover at this point. A patch to remove it would be accepted :)

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