mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
u-boot: allow specification of custom Git repo as source
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
205fb19cdb
commit
29679495b8
@ -34,6 +34,9 @@ config BR2_TARGET_UBOOT_2010_03
|
|||||||
config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
config BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||||
bool "Custom tarball"
|
bool "Custom tarball"
|
||||||
|
|
||||||
|
config BR2_TARGET_UBOOT_CUSTOM_GIT
|
||||||
|
bool "Custom Git repository"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||||
@ -51,6 +54,7 @@ config BR2_TARGET_UBOOT_VERSION
|
|||||||
default "2010.06" if BR2_TARGET_UBOOT_2010_06
|
default "2010.06" if BR2_TARGET_UBOOT_2010_06
|
||||||
default "2010.03" if BR2_TARGET_UBOOT_2010_03
|
default "2010.03" if BR2_TARGET_UBOOT_2010_03
|
||||||
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
default "custom" if BR2_TARGET_UBOOT_CUSTOM_TARBALL
|
||||||
|
default $BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION if BR2_TARGET_UBOOT_CUSTOM_GIT
|
||||||
|
|
||||||
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
||||||
string "custom patch dir"
|
string "custom patch dir"
|
||||||
@ -61,6 +65,16 @@ config BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
|
|||||||
|
|
||||||
Most users may leave this empty
|
Most users may leave this empty
|
||||||
|
|
||||||
|
if BR2_TARGET_UBOOT_CUSTOM_GIT
|
||||||
|
|
||||||
|
config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
|
||||||
|
string "URL of custom Git repository"
|
||||||
|
|
||||||
|
config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
|
||||||
|
string "Custom Git version"
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "U-Boot binary format"
|
prompt "U-Boot binary format"
|
||||||
|
|
||||||
|
@ -13,6 +13,9 @@ ifeq ($(UBOOT_VERSION),custom)
|
|||||||
UBOOT_TARBALL = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION))
|
UBOOT_TARBALL = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION))
|
||||||
UBOOT_SITE = $(dir $(UBOOT_TARBALL))
|
UBOOT_SITE = $(dir $(UBOOT_TARBALL))
|
||||||
UBOOT_SOURCE = $(notdir $(UBOOT_TARBALL))
|
UBOOT_SOURCE = $(notdir $(UBOOT_TARBALL))
|
||||||
|
else ifeq ($(BR2_TARGET_UBOOT_CUSTOM_GIT),y)
|
||||||
|
UBOOT_SITE = $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL))
|
||||||
|
UBOOT_SITE_METHOD = git
|
||||||
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