From patchwork Tue May 7 07:07:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 242046 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 399332C0150 for ; Tue, 7 May 2013 17:08:02 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DBBFBA01AE; Tue, 7 May 2013 07:07:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72JdyQ0oeG7G; Tue, 7 May 2013 07:07:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 3FC2FA0173; Tue, 7 May 2013 07:07:56 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id E2E668F79A for ; Tue, 7 May 2013 07:08:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BD69B100DEF; Tue, 7 May 2013 07:07:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W1D2hIRJPlqI; Tue, 7 May 2013 07:07:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-da0-f50.google.com (mail-da0-f50.google.com [209.85.210.50]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 2C4281009E6; Tue, 7 May 2013 07:07:36 +0000 (UTC) Received: by mail-da0-f50.google.com with SMTP id i23so165676dad.9 for ; Tue, 07 May 2013 00:07:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=DOh+PgCQ/vkxBcPc86euZEpKn2/41Ibu/KrEyj4fxgc=; b=sujXyCQX/7tChTxfijNw3Kf/HOYiWv6gYFnjazHKMwZSkVSrRdH1dCWaf0T5mmE4NA xaVfj1jh2RoV5W177N10avIOTOgFacCv4xrYYUg9+daJ74aBbvyNOH1OClrx0+khOdkV R++X6GgU8HibtR7Z3bgZPqSBRir2ELC42Br5R2yLPxIDlemSGMcvJxhWSgb0wllXgT9T GnwGQzHaC+Es5QGNk25HQKr7d7Id4S4CRpBErFj2Rz7ULI1PyiAYdOuxX4EI9168Yz+G dEiywOJX2OQm7SPUBebj+CEl0Unl05oNHi7k417+M1mIeIumJe2jbndCTWup1bNfllkf x06Q== X-Received: by 10.66.121.169 with SMTP id ll9mr1437032pab.126.1367910474567; Tue, 07 May 2013 00:07:54 -0700 (PDT) Received: from ld2036.tmt.telital.com.com ([213.205.6.118]) by mx.google.com with ESMTPSA id ea15sm29148587pad.16.2013.05.07.00.07.51 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 07 May 2013 00:07:53 -0700 (PDT) From: Fabio Porcedda To: buildroot@uclibc.org Date: Tue, 7 May 2013 09:07:46 +0200 Message-Id: <1367910467-21515-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 1.8.1.4 Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCH 1/2] uboot: add custom version option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Add custom version option as used in the linux kernel and barebox. This way we can easily specify newer and older version. Remove the list of the older versions because is obsoleted by the new custom version option that is more flexible. Signed-off-by: Fabio Porcedda --- boot/uboot/Config.in | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 2e95f76..a1874a1 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -14,29 +14,16 @@ config BR2_TARGET_UBOOT_BOARDNAME choice prompt "U-Boot Version" - default BR2_TARGET_UBOOT_2013_04 help Select the specific U-Boot version you want to use -config BR2_TARGET_UBOOT_2013_04 +config BR2_TARGET_UBOOT_LATEST_VERSION bool "2013.04" -config BR2_TARGET_UBOOT_2013_01 - bool "2013.01.01" - -config BR2_TARGET_UBOOT_2012_10 - bool "2012.10" - -config BR2_TARGET_UBOOT_2012_07 - bool "2012.07" - -config BR2_TARGET_UBOOT_2012_04 - bool "2012.04.01" - depends on BR2_DEPRECATED - -config BR2_TARGET_UBOOT_2011_12 - bool "2011.12" - depends on BR2_DEPRECATED +config BR2_TARGET_UBOOT_CUSTOM_VERSION + bool "Custom version" + help + This option allows to use a specific official versions config BR2_TARGET_UBOOT_CUSTOM_TARBALL bool "Custom tarball" @@ -46,6 +33,10 @@ config BR2_TARGET_UBOOT_CUSTOM_GIT endchoice +config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE + string "U-Boot version" + depends on BR2_TARGET_UBOOT_CUSTOM_VERSION + if BR2_TARGET_UBOOT_CUSTOM_TARBALL config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION @@ -55,12 +46,8 @@ endif config BR2_TARGET_UBOOT_VERSION string - default "2013.04" if BR2_TARGET_UBOOT_2013_04 - default "2013.01.01" if BR2_TARGET_UBOOT_2013_01 - default "2012.10" if BR2_TARGET_UBOOT_2012_10 - default "2012.07" if BR2_TARGET_UBOOT_2012_07 - default "2012.04.01" if BR2_TARGET_UBOOT_2012_04 - default "2011.12" if BR2_TARGET_UBOOT_2011_12 + default "2013.04" if BR2_TARGET_UBOOT_LATEST_VERSION + default $BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT