Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933533Ab0FEONb (ORCPT ); Sat, 5 Jun 2010 10:13:31 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:60072 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933407Ab0FEOMo (ORCPT ); Sat, 5 Jun 2010 10:12:44 -0400 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=pXADIt22yHr+qxlv0ntJ1SJj1e1mqVyj/Z1l2vOBKO3X9ZM5RmfVkjYG3cUsFZ6Sti ldszWALH69/SX4UvR/8E0f0ps8mzPS+gMXpjsEUbf1p2FdpMYzh1PNkgtUUOIdmGeAjx 6wS7hBh5oq8KtT/NsVEY0hUeodKCdwZbCuFmk= MIME-Version: 1.0 In-Reply-To: <20100603211707.GA6499@atomide.com> References: <20100603074548.GA12104@flint.arm.linux.org.uk> <20100603181010.GA25779@flint.arm.linux.org.uk> <20100603185333.GD25779@flint.arm.linux.org.uk> <1275593742.23384.48.camel@c-dwalke-linux.qualcomm.com> <20100603194559.GF25779@flint.arm.linux.org.uk> <20100603211707.GA6499@atomide.com> Date: Sat, 5 Jun 2010 17:12:42 +0300 Message-ID: Subject: Re: ARM defconfig files From: Felipe Contreras To: Tony Lindgren Cc: Linus Torvalds , Russell King , Daniel Walker , Kevin Hilman , Linux Kernel Mailing List , linux-arm-msm@vger.kernel.org, Vegard Nossum Content-Type: multipart/mixed; boundary=0016e6d58c316e0a9c0488490897 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6771 Lines: 121 --0016e6d58c316e0a9c0488490897 Content-Type: text/plain; charset=UTF-8 On Fri, Jun 4, 2010 at 12:17 AM, Tony Lindgren wrote: > * Linus Torvalds [100603 23:30]: >> >> and now you'd be able to basically generate a OMAP3EVM .config file by >> just running "allnoconfig" on that Kconfig.omap3_evm file. But it would >> only have to select the parts that are specific for the EVM platform, >> because the generic OMAP3 support would be picked by the Kconfig.omap3 >> file, which in turn would not have to worry about the generic ARM parts >> etc. >> >> See? > > Sounds like a good improvment to me. How about instead of using full defconfigs, we use minimal ones and let the rest be determined with defaults. For example, omap3_beagle.baseconfig would have something like: CONFIG_MACH_OMAP3_BEAGLE=y CONFIG_ARCH_OMAP=y CONFIG_ARCH_OMAP3=y CONFIG_ARCH_OMAP3430=y CONFIG_AEABI=y CONFIG_EMBEDDED=y CONFIG_ARCH_OMAP_OTG=y CONFIG_OMAP_MUX=n CONFIG_OMAP_32K_TIMER=y CONFIG_OMAP_DM_TIMER=y CONFIG_INPUT_MOUSE=n You copy that to the .config, and then do: echo "" | make ARCH=arm oldconfig The result would be exactly the same as we have now. With the SAT resolver I think it should be possible to automatically simply the current defconfigs. (CC'ing Vegard for comments) I'm attaching a simplified base config, that I used to test this, and the result is an exact match of the current omap3_beagle_defconfig. -- Felipe Contreras --0016e6d58c316e0a9c0488490897 Content-Type: application/octet-stream; name="omap3_beagle.config" Content-Disposition: attachment; filename="omap3_beagle.config" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ga2ivbxx0 Q09ORklHX01BQ0hfT01BUDNfQkVBR0xFPXkKCiMgdGhlc2Ugc2hvdWxkIGJlIGF1dG9tYXRpYwpD T05GSUdfQVJDSF9PTUFQPXkKQ09ORklHX0FSQ0hfT01BUDM9eQpDT05GSUdfQVJDSF9PTUFQMzQz MD15CgojIHByb2JhYmx5IHRoaXMgdG9vCkNPTkZJR19BRUFCST15CgpDT05GSUdfRVhQRVJJTUVO VEFMPXkKQ09ORklHX01PRFVMRVM9eQpDT05GSUdfTU9EVUxFX1VOTE9BRD15CkNPTkZJR19NT0RW RVJTSU9OUz15CkNPTkZJR19NT0RVTEVfU1JDVkVSU0lPTl9BTEw9eQpDT05GSUdfRlJFRVpFUj15 CgpDT05GSUdfU1lTVklQQz15CkNPTkZJR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316e0a9c0488490897-- -- 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/