From patchwork Thu Mar 17 17:07:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pauli Sundberg X-Patchwork-Id: 599172 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 3qQvv46X5xz9s0M for ; Fri, 18 Mar 2016 04:08:16 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=RmrlQu5O; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id DA906920CE; Thu, 17 Mar 2016 17:08:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jebQXF6a4mOQ; Thu, 17 Mar 2016 17:08:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id E333E920BD; Thu, 17 Mar 2016 17:08:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 32D781BFD7E for ; Thu, 17 Mar 2016 17:08:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E334A6171 for ; Thu, 17 Mar 2016 17:08:07 +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 k8i7uWPPYji2 for ; Thu, 17 Mar 2016 17:08:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id F1FF9A616F for ; Thu, 17 Mar 2016 17:08:05 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id i75so3367531lfb.1 for ; Thu, 17 Mar 2016 10:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=7jjKo9HLmrwy8cKzLvPk3YndrgafI/d9urWjdee+BPc=; b=RmrlQu5OB4OXlyYovcNq4+ZqJD4PS/QldnojoA+ariQhWlEg0IHVH51BGuzOrTxUbn B8jJzHTq+ObkTzyz3LKYnF7CbVsjT/1C2cFSzpWnjDUZnrrNozL1/jxHU16EoJnlHysN GuDAPJF7UurcxBSeo1tg+cvyonxQvFbXD6Uxir0hpOMnRKD9yyrdSujheMbn/AZfXkQX xnltl2AHRB5DfdugEKxw/VVe3ytwgB5cjdxAU7D2e0FiyPv3dXWNJxbMscH694Ase9nF RQv+jPa5Ym8/mcJ5afp703w67dXBOb9hNemLZct6dmHDvOfQD6U+JJynXhAGUcsH1A/H BXww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=7jjKo9HLmrwy8cKzLvPk3YndrgafI/d9urWjdee+BPc=; b=Q1pibX+niKZdWilxw1Aw5h4wrbSBdGyWzJZbKYttcZMI+dSTa4I+0TrU8nsHwrkkig US1ohw5UnImw90VLkUi1UQ1aoYE0V7kxb89kJPm+lvdEvesYzfWX8ylyIYREg52C5ZYj 6vtaiJi5dCSuDUnsES5m32MWmf+rFuaxC/M79+hU2DbDtst22T/5Mb2+zU+pi0O428zZ 2QFvWSHeIKgi3pftUqk8Eyo8MUBFRM3+VvcuxXmn99wJRzbMy4x2M6vVPhuex+RGWImY JHaXJnYhDDAPp7JkkDG5XQjXTnW6hoYzkswf5uwU1z8hGp/iIYLfkWuJHgbtHZ+awm+8 w9sg== X-Gm-Message-State: AD7BkJJlkGL1owd/1/U/cPL4rDMIyAhb/B+M/e42lZzhyXhiD327/XCJU7qTu2s62jjxNg== X-Received: by 10.25.40.81 with SMTP id o78mr3423488lfo.22.1458234484324; Thu, 17 Mar 2016 10:08:04 -0700 (PDT) Received: from localhost.localdomain (78-27-120-55.bb.dnainternet.fi. [78.27.120.55]) by smtp.gmail.com with ESMTPSA id s193sm1563695lfe.29.2016.03.17.10.08.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Mar 2016 10:08:03 -0700 (PDT) From: Pauli Sundberg To: buildroot@buildroot.org Date: Thu, 17 Mar 2016 19:07:51 +0200 Message-Id: <1458234472-4741-2-git-send-email-susundberg@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458234472-4741-1-git-send-email-susundberg@gmail.com> References: <87oaaif6zv.fsf@dell.be.48ers.dk> <1458234472-4741-1-git-send-email-susundberg@gmail.com> Cc: Pauli Sundberg Subject: [Buildroot] [PATCH v2 1/2] Add SVN repository support for u-boot X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" --- boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 0e79734..5800060 100644 --- a/boot/uboot/Config.in +++ b/boot/uboot/Config.in @@ -51,6 +51,9 @@ config BR2_TARGET_UBOOT_CUSTOM_TARBALL config BR2_TARGET_UBOOT_CUSTOM_GIT bool "Custom Git repository" +config BR2_TARGET_UBOOT_CUSTOM_SVN + bool "Custom SVN repository" + config BR2_TARGET_UBOOT_CUSTOM_HG bool "Custom Mercurial repository" @@ -64,7 +67,7 @@ config BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION string "URL of custom U-Boot tarball" depends on BR2_TARGET_UBOOT_CUSTOM_TARBALL -if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG +if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN config BR2_TARGET_UBOOT_CUSTOM_REPO_URL string "URL of custom repository" @@ -76,7 +79,7 @@ config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION \ if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != "" # legacy help - Revision to use in the typical format used by Git/Mercurial + Revision to use in the typical format used by Git/Mercurial/Svn E.G. a sha id, a tag, branch, .. endif @@ -88,7 +91,7 @@ config BR2_TARGET_UBOOT_VERSION if BR2_TARGET_UBOOT_CUSTOM_VERSION default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \ - if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG + if BR2_TARGET_UBOOT_CUSTOM_GIT || BR2_TARGET_UBOOT_CUSTOM_HG || BR2_TARGET_UBOOT_CUSTOM_SVN config BR2_TARGET_UBOOT_PATCH string "Custom U-Boot patches" diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk index f9a3ff8..e82135c 100644 --- a/boot/uboot/uboot.mk +++ b/boot/uboot/uboot.mk @@ -3,7 +3,6 @@ # uboot # ################################################################################ - UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME)) @@ -24,6 +23,9 @@ UBOOT_SITE_METHOD = git else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y) UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = hg +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = svn else # Handle stable official U-Boot versions UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot