Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751679Ab1BZW5w (ORCPT ); Sat, 26 Feb 2011 17:57:52 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:35082 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751362Ab1BZW5u (ORCPT ); Sat, 26 Feb 2011 17:57:50 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iAXlXAm7wba+c3JnkQdtoGB+iFXT2ERpLH9dzt9Tc90OQTx9dLH8VvqGk4uJjxW778 ZUwn8YAjrMuTz+EYGfke1X/ZQ7eHDnGyuaCaChvfAf6pEM1it3DWzVUxs5srr1f9ZRfo QNfArp1madsvE+ZI0NA6HLE/hCPkClzF83vuc= MIME-Version: 1.0 In-Reply-To: References: <4D671556.80607@suse.com> <20110225060706.GA12723@merkur.ravnborg.org> Date: Sat, 26 Feb 2011 17:57:49 -0500 Message-ID: Subject: Re: [PATCH] Add ``cloneconfig'' target From: Arnaud Lacombe To: Miguel Ojeda Cc: Sam Ravnborg , Jeff Mahoney , Linux Kernel Mailing List , Roman Zippel , linux-kbuild@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1663 Lines: 36 Hi, On Sat, Feb 26, 2011 at 5:47 PM, Miguel Ojeda wrote: > On Sat, Feb 26, 2011 at 8:47 PM, Arnaud Lacombe wrote: >> Why ? Thing should be kept simple. kconfig's job is not to know about >> the trillion file format which exist in the world, even more if the >> implementation is made by building a command[0], executing it in a >> separate process and reading the output. This is the shell's job. What >> may be useful in the contrary would be to eventually teach kconfig to >> read from . > > /proc/config.gz is provided by the kernel and its format is defined by > kconfig itself which is, as well, part of the kernel (it is not one > random format from a pool of a trillion), so it will be nice if > kconfig learns how to read its own configuration from there. > your point being ? kconfig is not only used by the Linux kernel, and you cannot expect the feature to only be used in the cozy Linux kernel environment. > kconfig only knows about config files (one format). The fact that it's > gzipped its irrelevant, any reasonable machine capable of building the > kernel has gzip installed. > again, the average user has no interaction with kconfig directly, (s)he uses the top level Makefile target at best. The original patch of Jeff is way better than any hack to read a gzip file from kconfig. KISS and please don't reinvert the wheel. - Arnaud -- 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/