mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
boot/uboot: Add custom Subversion repository support for the package
Signed-off-by: Pauli Sundberg <susundberg@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
5c67cb1d04
commit
1a807b4a89
@ -54,6 +54,9 @@ config BR2_TARGET_UBOOT_CUSTOM_GIT
|
|||||||
config BR2_TARGET_UBOOT_CUSTOM_HG
|
config BR2_TARGET_UBOOT_CUSTOM_HG
|
||||||
bool "Custom Mercurial repository"
|
bool "Custom Mercurial repository"
|
||||||
|
|
||||||
|
config BR2_TARGET_UBOOT_CUSTOM_SVN
|
||||||
|
bool "Custom Subversion repository"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE
|
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"
|
string "URL of custom U-Boot tarball"
|
||||||
depends on BR2_TARGET_UBOOT_CUSTOM_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
|
config BR2_TARGET_UBOOT_CUSTOM_REPO_URL
|
||||||
string "URL of custom repository"
|
string "URL of custom repository"
|
||||||
@ -76,7 +79,7 @@ config BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION
|
|||||||
default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION \
|
default BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION \
|
||||||
if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != "" # legacy
|
if BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION != "" # legacy
|
||||||
help
|
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, ..
|
E.G. a sha id, a tag, branch, ..
|
||||||
|
|
||||||
endif
|
endif
|
||||||
@ -88,7 +91,7 @@ config BR2_TARGET_UBOOT_VERSION
|
|||||||
if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
if BR2_TARGET_UBOOT_CUSTOM_VERSION
|
||||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||||
default BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION \
|
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
|
config BR2_TARGET_UBOOT_PATCH
|
||||||
string "Custom U-Boot patches"
|
string "Custom U-Boot patches"
|
||||||
|
@ -24,6 +24,9 @@ UBOOT_SITE_METHOD = git
|
|||||||
else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y)
|
else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_HG),y)
|
||||||
UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL))
|
UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_REPO_URL))
|
||||||
UBOOT_SITE_METHOD = hg
|
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
|
else
|
||||||
# Handle stable official U-Boot versions
|
# Handle stable official U-Boot versions
|
||||||
UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
|
UBOOT_SITE = ftp://ftp.denx.de/pub/u-boot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user