[yocto] how the &^$%^%@%^#$ does "file://defconfig" work?

Robert P. J. Day rpjday at crashcourse.ca
Wed Apr 24 04:50:36 PDT 2013


  been fighting with this for a couple of hours, so i'll start with
the short version -- here's the current explanation for "Changing the
Configuration" of your kernel:

http://www.yoctoproject.org/docs/latest/kernel-dev/kernel-dev.html#changing-the-configuration

  the salient bit:

"If you have a complete Linux kernel .config file you want to use,
copy it to a directory named files, which must be in your layer's
recipes-kernel/linux directory, and name the file "defconfig"."

  first, that clearly suggests that file://defconfig is to be used
*only* when you have a complete .config file you want to use, which
also implies that if you use that, you should not be picking up any
other snippets. that's how i read that -- the use of
"file://defconfig" means that that is *exactly* the final form of my
eventual .config file. if that's not true, then that wording needs to
change.

  also, i've been trying to do just that for a couple hours now, and i
am definitely *not* getting that as my final .config file used for the
kernel configuration. so what should be happening here? thanks.

rday

p.s. as i have some spare time between contracts at the moment, i am
going to be going over some of the yocto docs in excruciating detail.
somewhere, scott rifenbark is now thinking, "oh, crap, ..."

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list