From patchwork Wed Sep 26 13:07:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Stezenbach X-Patchwork-Id: 187079 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 5B5AB2C0094 for ; Wed, 26 Sep 2012 23:08:38 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1349269719; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help: Sender:Delivered-To; bh=V7ijah8FngJPAwADnJ9MlbfqjfA=; b=tDvAmiLx DJbYXsKexI490tzkWBCeeV6fV3CBijvab9YMksyAIgLmqTf/PGwxWLNoLHhYBdYZ Z+SF7eOPJiLXmQ0qwkS4GxmZRoRoSNflSSmBpnUaBMBMaHrEW8tYPCCWERBzeBZv fIsosziaCL3JeX33F4BK+7d3sObA5sZP0oo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:X-Spam-21-Score:X-Spam-21-Report:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Kk3TPVLjXcNlhzs7jIsCWWAHUCsH6fuu4jEX3ZP3p/DbvnjOvrT2qi1Pc4UDEW iWhDTgx+qIMtdJcKLKgypXAoUdt8SDSKIbzN+eV9SfvsssPpRK3mvsAqYAS3/l8r EjiDO1AoJKDcz2gJzPhXAqtVHM/V9UL8ht/ElWemZIwMQ=; Received: (qmail 28888 invoked by alias); 26 Sep 2012 13:08:33 -0000 Received: (qmail 28786 invoked by uid 22791); 26 Sep 2012 13:08:32 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bar.sig21.net (HELO bar.sig21.net) (80.81.252.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 26 Sep 2012 13:08:04 +0000 Received: from p5099b351.dip0.t-ipconnect.de ([80.153.179.81] helo=zzz.local) by bar.sig21.net with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from ) id 1TGrLI-0002mF-C7 for crossgcc@sourceware.org; Wed, 26 Sep 2012 15:08:02 +0200 Received: from js by zzz.local with local (Exim 4.80) (envelope-from ) id 1TGrLG-0001Bb-Pp for crossgcc@sourceware.org; Wed, 26 Sep 2012 15:07:54 +0200 Date: Wed, 26 Sep 2012 15:07:54 +0200 From: Johannes Stezenbach To: crossgcc@sourceware.org Subject: [RFC PATCH] allow arbitrary Linux kernel versions Message-ID: <20120926130754.GA26711@sig21.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-21-Score: -2.9 (--) X-Spam-21-Report: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Allow the user to specify a specific Linux kernel version. In contrast to KERNEL_LINUX_CUSTOM crosstool will automatically download the tarball (provided the version number entered by the user is valid). Using this also stops crosstool from downloading the latest-greatest kernel after every crosstool update. Signed-off-by: Johannes Stezenbach --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r f36c207348ef config/kernel/linux.in --- a/config/kernel/linux.in Thu Sep 20 11:20:16 2012 +0800 +++ b/config/kernel/linux.in Wed Sep 26 14:55:56 2012 +0200 @@ -135,12 +135,26 @@ It is now maintained by Greg Kroah-Hartman, see this mailing list entry: http://marc.info/?l=linux-kernel&m=129133701916793&w=4 +config KERNEL_LINUX_CUSTOM_VERSION + bool + prompt "custom Linux version" + help + Use a specific version not metioned in the list above. + config KERNEL_LINUX_CUSTOM bool prompt "custom tarball or directory" help Use a local tarball or local kernel directory of a complete kernel source tree. +endchoice + +config KERNEL_LINUX_CUSTOM_VERSION_NUMBER + string "" + prompt "custom Linux version number" + help + Enter the specific Linux kernel version to use, e.g. "3.4.9". + config KERNEL_LINUX_CUSTOM_LOCATION string prompt "Path to custom source, tarball or directory" @@ -149,8 +163,6 @@ Enter here the path to the tarball of your full kernel tree or kernel directory -endchoice - config KERNEL_VERSION string # Don't remove next line @@ -173,6 +185,7 @@ default "2.6.32.59" if KERNEL_V_2_6_32_59 default "2.6.31.14" if KERNEL_V_2_6_31_14 default "2.6.27.62" if KERNEL_V_2_6_27_62 + default KERNEL_LINUX_CUSTOM_VERSION_NUMBER if KERNEL_LINUX_CUSTOM_VERSION default "custom" if KERNEL_LINUX_CUSTOM endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS