Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1215332
| From | "John Stoffel" <john@stoffel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC/PATCH 0/2] A simpler way to maintain custom defconfigs |
| Date | 2015-08-28 15:10 +0200 |
| Message-ID | <q2rzR-49f-37@gated-at.bofh.it> (permalink) |
| References | <q25fX-5vZ-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Felipe> For several years I've used a trick to be able to maintain a simple defconfig Felipe> that works across many versions, and requires little maintenance from my Felipe> part: Felipe> % cat arch/x86/configs/x86_64_defconfig ~/my-config > .config && make olddefconfig Felipe> I'm sending a proposal to integrate it on the build system so that many people Felipe> can do the same in a simple manner. Felipe> The interesting part is how to generate this simplified defconfig. In a Felipe> nutshell; you want to take your .config, remove everything that is the default Felipe> in the Kconfig files (what savedefconfig does), but also removes anything that Felipe> is in the default defconfig (e.g. x86_64_defconfig) Felipe> I've been doing this by hand, but today I gave it a shot to automate this. The Felipe> result is a bit crude, but it works. Felipe> Thoughts? I like this idea, it makes alot of sense to me, and looks like it will simplify things for people. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[RFC/PATCH 0/2] A simpler way to maintain custom defconfigs Felipe Contreras <felipe.contreras@gmail.com> - 2015-08-27 15:20 +0200 [RFC/PATCH 2/2] kconfig: add KCONFIG_BASECONFIG option to savedefconfig Felipe Contreras <felipe.contreras@gmail.com> - 2015-08-27 15:20 +0200 Re: [RFC/PATCH 0/2] A simpler way to maintain custom defconfigs "John Stoffel" <john@stoffel.org> - 2015-08-28 15:10 +0200
csiph-web