Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: John O'Sullivan <john.osullivan@cloudiumsystems.com>
To: buildroot@busybox.net
Subject: [Buildroot] Support for linux kernel custom svn repository
Date: Wed, 26 Aug 2015 11:36:14 +0100	[thread overview]
Message-ID: <55DD969E.20409@cloudiumsystems.com> (raw)

Hi,
I have recently upgraded to buildroot-2015-05 from buildroot-2013-05. My custom kernel is held in an SVN repository and I had to alter buildroot-2013-05
  to support this. I was just wondering why this option is not available?

I made the following alterations but I am still hitting an error
In linux/Config.in I added an option for SVN

--- buildroot-2015.05/linux/Config.in	(revision 2165)
+++ buildroot-2015.05/linux/Config.in	(working copy)
@@ -62,6 +62,12 @@
  	  This option allows Buildroot to get the Linux kernel source
  	  code from a Git repository.
  
+config BR2_LINUX_KERNEL_CUSTOM_SVN
+	bool "Custom SVN repository"
+	help
+	  This option allows Buildroot to get the Linux kernel source
+	  code from a SVN repository.
+
  config BR2_LINUX_KERNEL_CUSTOM_HG
  	bool "Custom Mercurial repository"
  	help
@@ -84,22 +90,24 @@
  	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"
-	default BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL \
-		if BR2_LINUX_KERNEL_CUSTOM_GIT_REPO_URL != ""  # legacy
+	default BR2_LINUX_KERNEL_CUSTOM_SVN_REPO_URL \
+		if BR2_LINUX_KERNEL_CUSTOM_SVN_REPO_URL != ""  # legacy
  
  config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION
  	string "Custom repository version"
-	default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \
-		if BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION != ""  # legacy
+	default BR2_LINUX_KERNEL_CUSTOM_SVN_VERSION \
+		if BR2_LINUX_KERNEL_CUSTOM_SVN_VERSION != ""  # legacy
  	help
  	  Revision to use in the typical format used by Git/Mercurial
  	  E.G. a sha id, a tag, branch, ..
  
  endif
+
+
  
  config BR2_LINUX_KERNEL_CUSTOM_LOCAL_PATH
  	string "Path to the local directory"
@@ -115,7 +123,7 @@
  		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
  
  #
This results in a config file with the following settings:

# BR2_LINUX_KERNEL_CUSTOM_VERSION is not set
# BR2_LINUX_KERNEL_CUSTOM_TARBALL is not set
# BR2_LINUX_KERNEL_CUSTOM_GIT is not set
BR2_LINUX_KERNEL_CUSTOM_SVN=y
# BR2_LINUX_KERNEL_CUSTOM_HG is not set
# BR2_LINUX_KERNEL_CUSTOM_LOCAL is not set
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="$(SVN_ROOT)/linux-xlnx-2014.2_3.14 "
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="HEAD"



But When I run this I get an error:
svn: '.' is not a working copy
--2015-08-26 10:21:44--  http://sources.buildroot.net/linux-.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109
Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-08-26 10:21:45 ERROR 404: Not Found.


Any suggestion!

                 reply	other threads:[~2015-08-26 10:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=55DD969E.20409@cloudiumsystems.com \
    --to=john.osullivan@cloudiumsystems.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