[yocto] should i have known about "use-kernel-config"?

Robert P. J. Day rpjday at crashcourse.ca
Tue Apr 23 10:34:16 PDT 2013


  condensed version: i want to define a new machine for the MIPS
SEAD3, which is 32-bit, little endian, and it seemed pretty
straightforward, using the routerstation pro as a starting point and
making the appropriate tweaks.

  i chose to base off of linux-yocto-3.8, and chose the
standard/mti-malta32 branch, then wanted to make sure i had an
appropriate defconfig. turns out there *is* a
arch/mips/configs/sead3_defconfig file in that branch, with exactly
the two settings i cared most about right at the top:

CONFIG_MIPS_SEAD3=y
CONFIG_CPU_LITTLE_ENDIAN=y

so all i wanted was to say, "use *that* as the defconfig", but i saw
nothing in the kernel guide that explained how until i tripped over
this in one of the meta-arago defconfig files:

use-kernel-config=am335x_evm_defconfig

  does that do what i *think* it does? because it's certainly not
mentioned anywhere in the yocto docs.  and it's kind of handy.

rday

-- 

========================================================================
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