From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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, 03 Jan 2013 18:20:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00001.txt.bz2 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" --- 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 en= try: http://marc.info/?l=3Dlinux-kernel&m=3D129133701916793&w=3D4 +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 pro= vide + 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 -- For unsubscribe information see http://sourceware.org/lists.html#faq