[Buildroot] [EXT] Re: how to make two defconfig simultaneously

Jerry Huang jerry.huang at nxp.com
Thu Apr 9 13:03:53 UTC 2020



Best Regards
Jerry Huang

> -----Original Message-----
> From: Vladimir Oltean <olteanv at gmail.com>
> Sent: Thursday, April 9, 2020 8:46 PM
> To: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Cc: Jerry Huang <jerry.huang at nxp.com>; Heiko Thiery
> <heiko.thiery at gmail.com>; buildroot at busybox.net; Michael Walle
> <michael at walle.cc>; matthew.weber at collins.com; geomatsi at gmail.com
> Subject: [EXT] Re: [Buildroot] how to make two defconfig simultaneously
> 
> Caution: EXT Email
> 
> On Thu, 9 Apr 2020 at 15:25, Thomas Petazzoni
> <thomas.petazzoni at bootlin.com> wrote:
> >
> > On Thu, 9 Apr 2020 15:16:36 +0300
> > Vladimir Oltean <olteanv at gmail.com> wrote:
> >
> > > > Thomas Petazzoni, CTO, Bootlin
> > > > Embedded Linux and Kernel engineering
> > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2F
> > > >
> bootlin.com%2F&data=02%7C01%7Cjerry.huang%40nxp.com%7Caa2566c
> 3
> > > >
> daca4d2d7f4a08d7dc83ed07%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> 7C
> > > >
> 1%7C637220331486875411&sdata=cE7A7OhJopKeT7Z7ZvvIhaC6fJ9VdfFKC
> > > > 1IAns0ZwCc%3D&reserved=0
> > >
> > > I would assume the question is about merging a defconfig with
> > > multiple fragments.
> >
> > Then:
> >
> > $ ./support/kconfig/merge_config.sh fragment1 fragment2
> >
> > see also
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fboot
> > lin.com%2Fdoc%2Ftraining%2Fbuildroot%2Fbuildroot-slides.pdf&data=0
> >
> 2%7C01%7Cjerry.huang%40nxp.com%7Caa2566c3daca4d2d7f4a08d7dc83ed07
> %7C68
> >
> 6ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C637220331486875411&amp
> ;sdata=
> >
> WbhRwcsABaCuTXLRIPz%2F0AqVbgZPXeFjA6lg%2BM6WL34%3D&reserve
> d=0
> > slides
> > 43 and 44.
> >
> > However, I would recommend to *not* store fragments under configs/
> > with a _defconfig suffix, as this is normally used for complete
> > defconfigs, not fragments.
> >
> > Thomas
> > --
> > Thomas Petazzoni, CTO, Bootlin
> > Embedded Linux and Kernel engineering
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fboot
> >
> lin.com%2F&data=02%7C01%7Cjerry.huang%40nxp.com%7Caa2566c3dac
> a4d2d
> >
> 7f4a08d7dc83ed07%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C1%7C63
> 722033
> >
> 1486885410&sdata=s9%2F4o8MhHm7fftdxDYiaFBF1kwo544D6l5TkRuqZN
> qI%3D&
> > amp;reserved=0
> 
> Ok, this answers the 'how to merge them' portion of the question.
> Are there guidelines for where defconfig fragments _can_ be stored, how they
> should be structured, named, what they can contain? All the files that I see in
> the configs/ folder are simple defconfigs.

They are that I want to know.


> Thanks,
> -Vladimir


More information about the buildroot mailing list