From patchwork Tue Jun 30 21:35:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ANDY KENNEDY X-Patchwork-Id: 489819 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5C9A6140786 for ; Wed, 1 Jul 2015 07:35:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=sourceware.org header.i=@sourceware.org header.b=vKkPEVi2; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=eOe 9M+yiQBBPhOVHB7BfxFBEtYzC2boUNtLfBJwCq/Mx38as6IHRPCNn7q/VxVDXarN YaQQSpJcT8SnSgMvh7o73zklxcpPeD97tslWIB3guS5Q/aYCPwl9PtWDycMgmodv LsU45ZIozP8rivCdQnhMBhJypRXxDdMdvRtFgKoo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=bwNlxIBsT ggW8NZiqDztLUhSKHk=; b=vKkPEVi2tA005Yjc1dpbowwoThBzcqUwClfdCGsyk mJ4jDBJLTMqg3s43ZA1LvqFwrBFODTga8ZCClA5n5tR4xhdvsOhsHboU3jYA2i8J 4yk6jWJfn2hyFv5TXt5ouMSR/Mq0UNJPJi/79PsyRNjaurF1IlQB0gX38PeiMpzS yw= Received: (qmail 41769 invoked by alias); 30 Jun 2015 21:35:13 -0000 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 Received: (qmail 41749 invoked by uid 89); 30 Jun 2015 21:35:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: p01c11o142.mxlogic.net Received: from p01c11o142.mxlogic.net (HELO p01c11o142.mxlogic.net) (208.65.144.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 30 Jun 2015 21:35:10 +0000 Received: from unknown [76.164.174.81] (EHLO ex-hc1.corp.adtran.com) by p01c11o142.mxlogic.net(mxl_mta-8.4.0-1) over TLS secured channel with ESMTP id c8b03955.0.215359.00-268.607153.p01c11o142.mxlogic.net (envelope-from ); Tue, 30 Jun 2015 15:35:10 -0600 (MDT) X-MXL-Hash: 55930b8e5f51a47b-3fe8d81f1a64008d19cf5f5d25a61fe4f31af13f Received: from ex-mb1.corp.adtran.com ([fe80::51a3:972d:5f16:9952]) by ex-hc1.corp.adtran.com ([fe80::a43f:7ea6:7688:37b%13]) with mapi id 14.03.0224.002; Tue, 30 Jun 2015 16:35:07 -0500 From: ANDY KENNEDY To: "'crossgcc@sourceware.org'" Subject: [PATCH] Allow user to specify Linux kernel version Date: Tue, 30 Jun 2015 21:35:07 +0000 Message-ID: MIME-Version: 1.0 X-AnalysisOut: [v=2.1 cv=T8uYTp6Q c=1 sm=1 tr=0 a=0XgpNN2/4a34ymu16SVwsQ==] X-AnalysisOut: [:117 a=0XgpNN2/4a34ymu16SVwsQ==:17 a=eJNrpioGAAAA:8 a=YlVT] X-AnalysisOut: [AMxIAAAA:8 a=2HoPzAqDUmIA:10 a=BLceEmwcHowA:10 a=kj9zAlcOe] X-AnalysisOut: [l0A:10 a=xqWC_Br6kY4A:10 a=XAFQembCKUMA:10 a=4im5v78a7kmJj] X-AnalysisOut: [Nz-rgQA:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2015063013); S=0.200(2014051901)] X-MAIL-FROM: X-IsSubscribed: yes Allow user to specify the Linux kernel through a manual string entry. 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 2015-06-30 16:25:14.183781577 -0500 +++ b/config/kernel/linux.in 2015-06-29 17:46:45.621904211 -0500 @@ -63,6 +63,20 @@ prompt "2.6.32.67" help +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" @@ -92,6 +106,7 @@ default "3.4.108" if KERNEL_V_3_4 default "3.2.69" if KERNEL_V_3_2 default "2.6.32.67" if KERNEL_V_2_6_32 + default KERNEL_MANUAL_VER if KERNEL_MANUAL default "custom" if KERNEL_LINUX_CUSTOM endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS