From patchwork Thu Jan 3 18:20:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ANDY KENNEDY X-Patchwork-Id: 209294 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 9FC312C007D for ; Fri, 4 Jan 2013 05:20:26 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1357842027; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: From:To:Subject:Date:Message-ID:Content-Type: Content-Transfer-Encoding:MIME-Version:Mailing-List:Precedence: List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=TkEflVueXhJcvPoMFXVaHUc9Zcg=; b=LxWvhspu8BrHkimkJ4TvHDdt/rnRG9Fc4uiOL9R9fXOCi5YlCWnbTdV+bJdaU/ Nbkiy4kFgmWqwudhrM+dlhRkzSrggTZ8oP62PESZwEc10ol9IIo0scPuFtlMLEby WziITuOp3y5CHwyv52i2kLfF/f4i2EAu+BlG9t69GUSTI= 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:X-MXL-Hash:Received:From:To:Subject:Date:Message-ID:Content-Type:Content-Transfer-Encoding:MIME-Version:X-AnalysisOut:X-AnalysisOut:X-AnalysisOut:X-AnalysisOut:X-AnalysisOut:X-AnalysisOut:X-MAIL-FROM:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=ibMZToabaMZ7AN816g6niaGEatpZJgBmeRv2XcBmWe9H8igJ4ihqwpQvR186O/ 2Gm98UACDGrI9ZG4ah98ubwlRLlkcWUxc5k0hhkSopKtGEeMVw7JNXUEwhB0IPth urpSOG9Du+7Avw6LnKrerkYL3M+pMc5NlqwmHFEfOS1FA=; Received: (qmail 21586 invoked by alias); 3 Jan 2013 18:20:18 -0000 Received: (qmail 21576 invoked by uid 22791); 3 Jan 2013 18:20:17 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL, BAYES_50, RCVD_IN_HOSTKARMA_NO, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from p02c12o144.mxlogic.net (HELO p02c12o144.mxlogic.net) (208.65.145.77) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Jan 2013 18:20:11 +0000 Received: from unknown [76.164.174.82] by p02c12o144.mxlogic.net(mxl_mta-6.16.0-0) with SMTP id 9dbc5e05.0.172753.00-336.428778.p02c12o144.mxlogic.net (envelope-from ); Thu, 03 Jan 2013 11:20:10 -0700 (MST) X-MXL-Hash: 50e5cbda5d0adc71-4c2a83bd36d35c0b0152a5f28327635bebfebdf2 Received: from ex-mb1.corp.adtran.com ([fe80::51a3:972d:5f16:9952]) by ex-hc3.corp.adtran.com ([fe80::3892:20fa:600f:75c6%15]) with mapi id 14.01.0421.002; Thu, 3 Jan 2013 12:20:06 -0600 From: ANDY KENNEDY To: "'crossgcc@sourceware.org'" Subject: [PATCH] kernel/linux: Allow user to manually enter Linux version Date: Thu, 3 Jan 2013 18:20:05 +0000 Message-ID: MIME-Version: 1.0 X-AnalysisOut: [v=2.0 cv=f+f/8pOM c=1 sm=1 a=J+LXdEUA8t8MtBPt16/Qbg==:17 a] X-AnalysisOut: [=C3ZOIDTcl6cA:10 a=ma_ax2Vi-RwA:10 a=qZHQZMT3apYA:10 a=BLc] X-AnalysisOut: [eEmwcHowA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=eJNrpio] X-AnalysisOut: [GAAAA:8 a=Wn4MeYLs_X4A:10 a=VwQbUJbxAAAA:8 a=gu6fZOg2AAAA:] X-AnalysisOut: [8 a=s7odpZHJyLVPQOqmO_8A:9 a=CjuIK1q_8ugA:10 a=U62fhAwekXM] X-AnalysisOut: [A:10 a=DvnSUQUdWHYA:10 a=GC8p-B92FUEA:10 a=NWVoK91CQyQA:10] X-MAIL-FROM: 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 In addition to the choice list and the custom version, allow the user to enter a free format version to pull from kernel.org (or the specified local repo) as a standard version number. Signed-off-by: "Andy Kennedy" --- -- For unsubscribe information see http://sourceware.org/lists.html#faq diff -Naur a/config/kernel/linux.in b/config/kernel/linux.in --- a/config/kernel/linux.in 2013-01-03 12:11:45.000000000 -0600 +++ b/config/kernel/linux.in 2013-01-03 12:13:11.000000000 -0600 @@ -127,6 +127,20 @@ 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_MANUAL + bool + prompt "Manually provide the kernel version." + help + Specify the exact kernel version you wish to use. + +config KERNEL_MANUAL_VER + string + prompt "Enter the kernel version" + depends on KERNEL_MANUAL + help + The version should be entered as 2.6.33 or 2.6.36.2 etc. Do not provide + linux- before or .tar.bz2 after. + config KERNEL_LINUX_CUSTOM bool prompt "custom tarball or directory" @@ -163,6 +177,7 @@ default "2.6.32.60" if KERNEL_V_2_6_32_60 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_MANUAL_VER if KERNEL_MANUAL default "custom" if KERNEL_LINUX_CUSTOM endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS