From patchwork Tue Mar 29 17:22:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pauli Sundberg X-Patchwork-Id: 603090 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 3qZHgF47qbz9sC4 for ; Wed, 30 Mar 2016 04:23:37 +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=mRAKJ5RV; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BCDAC8B048; Tue, 29 Mar 2016 17:23:36 +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 QIq8EnDu3lff; Tue, 29 Mar 2016 17:23:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id AD8BC9307E; Tue, 29 Mar 2016 17:23:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A69771C0B69 for ; Tue, 29 Mar 2016 17:23:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id A17942F594 for ; Tue, 29 Mar 2016 17:23:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XT1EH-o+IE8V for ; Tue, 29 Mar 2016 17:23:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lb0-f194.google.com (mail-lb0-f194.google.com [209.85.217.194]) by silver.osuosl.org (Postfix) with ESMTPS id 54B6632E4C for ; Tue, 29 Mar 2016 17:23:32 +0000 (UTC) Received: by mail-lb0-f194.google.com with SMTP id oa3so2017918lbb.2 for ; Tue, 29 Mar 2016 10:23:32 -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=Lw9tlIblcGVsFX5wWRH1a8cHVbHxYG5RjYs/On3ldlI=; b=mRAKJ5RVQVmtXJbcycKYugO61keJrPGjMdbjTV5TzhudVvjJZWAJAyIsuabDBgDZeG dX2OfV7tucJy81BfrTW52SlNAhliLCiXI7iZWfir107NupUIvdevBhE+6GBczO+WgEuZ c++cZVdxCSUrvvzZ+gC8zzeKJbzJUSLUMtGIPyEM2wXXCx92GueDkA/HAivZShlUZJZU bqEhVufKBf7np4PHprVGRTshj6PlRUEPTwQ9TYemmlX5XBeh85QBusa+iAETkQVRyD6+ L7gRWEkIVnTCGpSsnO1yH0sOSeDV0CG2sCS32XiELaV8Vz+4aI62UfWl5+Srf/kri6XB YBAA== 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=Lw9tlIblcGVsFX5wWRH1a8cHVbHxYG5RjYs/On3ldlI=; b=NaZyFDk4ZDnJ8SjHW9q4YwNMFv/T+/2SBe8ii+WgrrPRxiyU8xMn2BT2OpQkwghEvv RodQBTlYcNBI7pexs2hZtU6I4yAPPzDAXPrke6t0kLMM1TwF3yGKZ346Mqh+uRDIyFZ+ dK6jWL1mp46lLEW2HPL3YX54PzuR5iKDFJAGxYv8gXGuRD3s3fBifoVVlA2pQ2w+cbbH CN3Edw4CPYdvI/6wNKJ3rN4V0PAj5L85rhMiHzk1jhFTnpC8m2u5/LSAVz5kiHwExNGR sHyNNAkk6H2gJi9KuAXNUd4btf2U8ZkIMKxdHz0TBfQsh2szZgHHpJupNV8scj2EUIf/ y61A== X-Gm-Message-State: AD7BkJLbf0dI5767JJ75ErWACOyqqhcwEabeKMgLpflWShvJ06GJX/bIzxCDui/3VA6Jjw== X-Received: by 10.112.135.137 with SMTP id ps9mr1519296lbb.73.1459272210670; Tue, 29 Mar 2016 10:23:30 -0700 (PDT) Received: from localhost.localdomain (78-27-120-55.bb.dnainternet.fi. [78.27.120.55]) by smtp.gmail.com with ESMTPSA id zi6sm61994lbb.5.2016.03.29.10.23.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Mar 2016 10:23:29 -0700 (PDT) From: Pauli Sundberg To: buildroot@buildroot.org Date: Tue, 29 Mar 2016 20:22:58 +0300 Message-Id: <1459272178-2832-2-git-send-email-susundberg@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459272178-2832-1-git-send-email-susundberg@gmail.com> References: <56f9c5e03b04a_e97196065823599@ultri2.mail> <1459272178-2832-1-git-send-email-susundberg@gmail.com> Cc: Pauli Sundberg Subject: [Buildroot] [PATCH V4 1/1] linux: Add custom Subversion repository support for the package 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" Signed-off-by: Pauli Sundberg --- linux/Config.in | 12 +++++++++--- linux/linux.mk | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/linux/Config.in b/linux/Config.in index 93968cd..187fcad 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -63,6 +63,12 @@ config BR2_LINUX_KERNEL_CUSTOM_HG This option allows Buildroot to get the Linux kernel source code from a Mercurial repository. +config BR2_LINUX_KERNEL_CUSTOM_SVN + bool "Custom Subversion repository" + help + This option allows Buildroot to get the Linux kernel source + code from a Subversion repository. + config BR2_LINUX_KERNEL_CUSTOM_LOCAL bool "Local directory" help @@ -79,7 +85,7 @@ config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION string "URL of custom kernel tarball" depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL -if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG +if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN config BR2_LINUX_KERNEL_CUSTOM_REPO_URL string "URL of custom repository" @@ -91,7 +97,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \ if BR2_LINUX_KERNEL_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/Subversion E.G. a sha id, a tag, branch, .. endif @@ -109,7 +115,7 @@ config BR2_LINUX_KERNEL_VERSION if BR2_LINUX_KERNEL_CUSTOM_VERSION default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \ - if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG + if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN default "custom" if BR2_LINUX_KERNEL_CUSTOM_LOCAL # diff --git a/linux/linux.mk b/linux/linux.mk index 7e20255..317587f 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -23,6 +23,9 @@ LINUX_SITE_METHOD = git else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = hg +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = svn else LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)