Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594AbbH1NAd (ORCPT ); Fri, 28 Aug 2015 09:00:33 -0400 Received: from mailrelay.lanline.com ([216.187.10.16]:63493 "EHLO mailrelay.lanline.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751988AbbH1NAb (ORCPT ); Fri, 28 Aug 2015 09:00:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <21984.23085.125231.147499@quad.stoffel.home> Date: Fri, 28 Aug 2015 08:55:09 -0400 From: "John Stoffel" To: Felipe Contreras Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, "Yann E. MORIN" , Linus Torvalds Subject: Re: [RFC/PATCH 0/2] A simpler way to maintain custom defconfigs In-Reply-To: <1440680925-2879-1-git-send-email-felipe.contreras@gmail.com> References: <1440680925-2879-1-git-send-email-felipe.contreras@gmail.com> X-Mailer: VM 8.2.0b under 23.4.1 (x86_64-pc-linux-gnu) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1221 Lines: 28 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/