Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Pauli Sundberg <susundberg@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH V4 1/1] linux: Add custom Subversion repository support for the package
Date: Tue, 29 Mar 2016 20:22:58 +0300	[thread overview]
Message-ID: <1459272178-2832-2-git-send-email-susundberg@gmail.com> (raw)
In-Reply-To: <1459272178-2832-1-git-send-email-susundberg@gmail.com>

Signed-off-by: Pauli Sundberg <susundberg@gmail.com>
---
 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)
-- 
1.9.1

  reply	other threads:[~2016-03-29 17:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <56f9c5e03b04a_e97196065823599@ultri2.mail>
2016-03-29 17:22 ` [Buildroot] [PATCH V4 1/1] boot/uboot: Add custom Subversion repository support for the package Pauli Sundberg
2016-03-29 17:22   ` Pauli Sundberg [this message]
2016-04-05 20:29     ` [Buildroot] [PATCH V4 1/1] linux: " Peter Korsgaard
2016-04-05 20:29   ` [Buildroot] [PATCH V4 1/1] boot/uboot: " Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459272178-2832-2-git-send-email-susundberg@gmail.com \
    --to=susundberg@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox