mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
linux: 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
1a807b4a89
commit
986fa441e4
@ -63,6 +63,12 @@ config BR2_LINUX_KERNEL_CUSTOM_HG
|
|||||||
This option allows Buildroot to get the Linux kernel source
|
This option allows Buildroot to get the Linux kernel source
|
||||||
code from a Mercurial repository.
|
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
|
config BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
||||||
bool "Local directory"
|
bool "Local directory"
|
||||||
help
|
help
|
||||||
@ -79,7 +85,7 @@ config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
|
|||||||
string "URL of custom kernel tarball"
|
string "URL of custom kernel tarball"
|
||||||
depends on BR2_LINUX_KERNEL_CUSTOM_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
|
config BR2_LINUX_KERNEL_CUSTOM_REPO_URL
|
||||||
string "URL of custom repository"
|
string "URL of custom repository"
|
||||||
@ -91,7 +97,7 @@ config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION
|
|||||||
default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \
|
default BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION \
|
||||||
if BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION != "" # legacy
|
if BR2_LINUX_KERNEL_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
|
||||||
@ -109,7 +115,7 @@ config BR2_LINUX_KERNEL_VERSION
|
|||||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||||
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
|
||||||
default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \
|
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
|
default "custom" if BR2_LINUX_KERNEL_CUSTOM_LOCAL
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -23,6 +23,9 @@ LINUX_SITE_METHOD = git
|
|||||||
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y)
|
else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_HG),y)
|
||||||
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
|
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
|
||||||
LINUX_SITE_METHOD = hg
|
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
|
else
|
||||||
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
|
LINUX_SOURCE = linux-$(LINUX_VERSION).tar.xz
|
||||||
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)
|
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user