Add SVN support for kernel and u-boot
PATCH 1/1 Add SVN support for kernel and u-boot
--- boot/uboot/Config.in | 7 +++++-- boot/uboot/uboot.mk | 4 +++- linux/Config.in | 11 +++++++++-- linux/linux.mk | 3 +++ 4 files changed, 20 insertions(+), 5 deletions(-)
boot/uboot/Config.in +4 -1
@@ -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"
@@ -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_CUSTOM_PATCH_DIR
string "custom patch dir"
boot/uboot/uboot.mk +3 -1
@@ -3,7 +3,6 @@ # uboot # ################################################################################ - UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
@@ -21,6 +20,9 @@ BR_NO_CHECK_HASH_FOR += $(UBOOT_SOURCE) else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y) UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = git +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = svn else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y) UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = hg
linux/Config.in +8 -1
@@ -69,8 +69,15 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL This option allows Buildroot to get the Linux kernel source code from a local directory. +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. + endchoice + config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE string "Kernel version" depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
@@ -79,7 +86,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"
@@ -109,7 +116,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
#
linux/linux.mk +3 -0
@@ -20,6 +20,9 @@ LINUX_SITE_METHOD = local else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = git +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = svn else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = hg
Signature · 1 line
1.9.1
PATCH 1/1 Add SVN support for kernel and u-boot
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Pauli" == Pauli Sundberg <[email protected]> writes:
Signed-off-by Pauli Sundberg <[email protected]>--- boot/uboot/Config.in | 7 +++++-- boot/uboot/uboot.mk | 4 +++- linux/Config.in | 11 +++++++++-- linux/linux.mk | 3 +++ 4 files changed, 20 insertions(+), 5 deletions(-)
Thanks, can you please split this up in two patches - One for u-boot and one for the Linux kernel?
I cannot apply the patch. It seems like your mailer has converted tabs to spaces. Please verify that you mailer doesn't corrupt patches by sending them to yourself and checking that they can be applied.
boot/uboot/Config.in config BR2_TARGET_UBOOT_CUSTOM_TARBALL · line 58
Quoted 13 lines
boot/uboot/Config.in +3
-0@@ -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"
Please keep this alphabetically sorted, so _SVN after _HG.
Quoted 16 lines
boot/uboot/Config.in +1
-1@@ -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_SVNconfig
BR2_TARGET_UBOOT_CUSTOM_REPO_URL
string "URL of custom repository"boot/uboot/Config.in +1
-1@@ -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
Quoted 1 line
||
BR2_TARGET_UBOOT_CUSTOM_SVN
Please also update the _CUSTOM_REPO_VERSION help text with svn info.
boot/uboot/uboot.mk line 6
Quoted 12 lines
config
BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
string "custom patch dir"boot/uboot/uboot.mk +0
-1@@ -3,7 +3,6 @@ # uboot # ################################################################################ - UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION))
Please don't add unrelated changes.
boot/uboot/uboot.mk BR_NO_CHECK_HASH_FOR += $(UBOOT_SOURCE) · line 26
Quoted 10 lines
boot/uboot/uboot.mk +3
-0UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))@@ -21,6 +20,9 @@ BR_NO_CHECK_HASH_FOR += $(UBOOT_SOURCE) else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y) UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = git +else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_SVN),y) +UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) +UBOOT_SITE_METHOD = svn else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y)
Please also keep this in the same order as Config.in, so _SVN after _HG.
Quoted 7 lines
boot/uboot/uboot.mk +0
-0UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL)) UBOOT_SITE_METHOD = hglinux/Config.in +0
-0
linux/Config.in config BR2_LINUX_KERNEL_CUSTOM_LOCAL · line 77
Quoted 9 lines
linux/Config.in +6
-0@@ -69,8 +69,15 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL This option allows Buildroot to get the Linux kernel source code from a local directory. +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. +
This should go after the _CUSTOM_HG option.
Please add svn info to the _CUSTOM_REPO_VERSION option.
linux/Config.in LINUX_SITE_METHOD = local · line 28
Quoted 11 lines
linux/Config.in +4
-0+++ b/linux/linux.mk@@ -20,6 +20,9 @@ LINUX_SITE_METHOD = local else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_GIT),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = git +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y) +LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) +LINUX_SITE_METHOD = svn else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y) LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL)) LINUX_SITE_METHOD = hg
Please put the _SVN logic after _HG.
Signature · 1 line
Bye, Peter Korsgaard
v2 cover Add Svn support for kernel and u-boot
Hi all! This is second round to submit patch for uboot and kernel to re-add the SVN support. Thanks for Peter Korsgaard from the previous feedback.
Pauli Sundberg (2):
Add SVN repository support for u-boot
Add SVN repository support for kernel
boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- linux/Config.in | 12 +++++++++--- linux/linux.mk | 3 +++ 4 files changed, 21 insertions(+), 7 deletions(-)
Signature · 1 line
1.9.1
PATCH v2 1/2 Add SVN repository support for u-boot
--- boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-)
boot/uboot/Config.in +6 -3
@@ -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"
boot/uboot/uboot.mk +3 -1
@@ -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
Signature · 1 line
1.9.1
PATCH v2 1/2 Add SVN repository support for u-boot
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Pauli" == Pauli Sundberg <[email protected]> writes:
You forgot to add your signed-off-by (git commit -s), so I cannot apply this. Care to add that (and fix the below) and resend?
Quoted 10 lines
--- boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-)boot/uboot/Config.in +0
-0
boot/uboot/Config.in config BR2_TARGET_UBOOT_CUSTOM_TARBALL · line 58
Quoted 8 lines
boot/uboot/Config.in +3
-0@@ -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"
S still comes after H in the alphabet, so please add SVN after _HG. While we're at it I think we should spell out Subversion instead of SVN.
Thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v3 1/2 Add custom Subversion repository support for package uboot
--- boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-)
boot/uboot/Config.in +6 -3
@@ -54,6 +54,9 @@ config BR2_TARGET_UBOOT_CUSTOM_GIT config BR2_TARGET_UBOOT_CUSTOM_HG bool "Custom Mercurial repository" +config BR2_TARGET_UBOOT_CUSTOM_SVN + bool "Custom Subversion repository" + endchoice config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
@@ -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/Subversion 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"
boot/uboot/uboot.mk +3 -1
@@ -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
Signature · 1 line
1.9.1
PATCH v3 2/2 Add custom Subversion repository support for package linux
--- linux/Config.in | 12 +++++++++--- linux/linux.mk | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-)
linux/Config.in +9 -3
@@ -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 #
linux/linux.mk +3 -0
@@ -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)
Signature · 1 line
1.9.1
PATCH v3 2/2 Add custom Subversion repository support for package linux
Pauli,
Quoted 1 line
[PATCH V3 2/2] Add custom Subversion repository support for package linux
Same comment from the other patch. See
git log -- linux
Quoted 17 lines · Pauli Sundberg
from: Pauli Sundberg <[email protected]>
date: Sun, Mar 27 08:30 PM +03:00 2016
to: buildroot at buildroot.org
cc: Pauli Sundberg <[email protected]>
subject: [Buildroot] [PATCH V3 2/2] Add custom Subversion repository support for package linuxSigned-off-by Pauli Sundberg <[email protected]>--- linux/Config.in | 12 +++++++++--- linux/linux.mk | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-)linux/Config.in +0
-0
linux/Config.in config BR2_LINUX_KERNEL_CUSTOM_HG · line 70
Quoted 8 lines
linux/Config.in +5
-0@@ -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.
You could use "Subversion" instead of "subversion" for consistence.
linux/Config.in config BR2_LINUX_KERNEL_CUSTOM_HG · line 74
Quoted 4 lines
linux/Config.in +1
-0+ config BR2_LINUX_KERNEL_CUSTOM_LOCAL bool "Local directory" help
[snip]
Regards,
Ricardo
PATCH v3 1/2 Add custom Subversion repository support for package uboot
In reply to Pauli SundbergPauli,
Quoted 1 line
[PATCH V3 1/2] Add custom Subversion repository support for package uboot
Should start with one of below
uboot:
boot/uboot:
You can look at examples using
git log -- boot/uboot/
Also, you didn't addressed all Peter's suggestions from previous iterations.
Quoted 17 lines · Pauli Sundberg
from: Pauli Sundberg <[email protected]>
date: Sun, Mar 27 08:30 PM +03:00 2016
to: buildroot at buildroot.org
cc: Pauli Sundberg <[email protected]>
subject: [Buildroot] [PATCH V3 1/2] Add custom Subversion repository support for package ubootSigned-off-by Pauli Sundberg <[email protected]>--- boot/uboot/Config.in | 9 ++++++--- boot/uboot/uboot.mk | 4 +++- 2 files changed, 9 insertions(+), 4 deletions(-)boot/uboot/Config.in +0
-0
boot/uboot/Config.in config BR2_TARGET_UBOOT_CUSTOM_GIT · line 58
Quoted 5 lines
boot/uboot/Config.in +2
-0@@ -54,6 +54,9 @@ config BR2_TARGET_UBOOT_CUSTOM_GIT config BR2_TARGET_UBOOT_CUSTOM_HG bool "Custom Mercurial repository" +config BR2_TARGET_UBOOT_CUSTOM_SVN + bool "Custom Subversion repository"
Should be indented using tab
boot/uboot/Config.in config BR2_TARGET_UBOOT_CUSTOM_GIT · line 59
Quoted 1 line
boot/uboot/Config.in +1
-0+
Should be an empty newline, without the trailing spaces.
Quoted 3 lines
boot/uboot/Config.in +0
-0endchoice config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
[snip]
boot/uboot/uboot.mk line 6
Quoted 9 lines
boot/uboot/uboot.mk +0
-1@@ -3,7 +3,6 @@ # uboot # ################################################################################ -
The removal of this line should not be part of your patch
boot/uboot/uboot.mk line 8
Quoted 3 lines
boot/uboot/uboot.mk +0
-0UBOOT_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION)) UBOOT_BOARD_NAME = $(call qstrip,$(BR2_TARGET_UBOOT_BOARDNAME))
[snip]
Regards,
Ricardo
PATCH v2 2/2 Add SVN repository support for kernel
In reply to Pauli Sundberg--- linux/Config.in | 12 +++++++++--- linux/linux.mk | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-)
linux/Config.in +9 -3
@@ -69,6 +69,12 @@ config BR2_LINUX_KERNEL_CUSTOM_LOCAL This option allows Buildroot to get the Linux kernel source code from a local directory. +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. + endchoice config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
@@ -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/Svn 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 #
linux/linux.mk +3 -0
@@ -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)
Signature · 1 line
1.9.1