[Buildroot] [PATCH 07/12] u-boot: allow specification of custom Git repo as source

Peter Korsgaard jacmet at uclibc.org
Mon Jul 11 19:38:05 UTC 2011


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

 Thomas> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 Thomas> ---
 Thomas>  boot/uboot/Config.in |   14 ++++++++++++++
 Thomas>  boot/uboot/uboot.mk  |    3 +++
 Thomas>  2 files changed, 17 insertions(+), 0 deletions(-)

 Thomas> diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
 Thomas> index aada346..b8eb42d 100644
 Thomas> --- a/boot/uboot/Config.in
 Thomas> +++ b/boot/uboot/Config.in
 Thomas> @@ -34,6 +34,9 @@ config BR2_TARGET_UBOOT_2010_03
 Thomas>  config BR2_TARGET_UBOOT_CUSTOM_TARBALL
 Thomas>  	bool "Custom tarball"
 
 Thomas> +config BR2_TARGET_UBOOT_CUSTOM_GIT
 Thomas> +        bool "Custom Git repository"

Should be <tab> rather than spaces.

 Thomas> +if BR2_TARGET_UBOOT_CUSTOM_GIT
 Thomas> +
 Thomas> +config BR2_TARGET_UBOOT_CUSTOM_GIT_REPO_URL
 Thomas> +        string "URL of custom Git repository"

Here as well.

 Thomas> +
 Thomas> +config BR2_TARGET_UBOOT_CUSTOM_GIT_VERSION
 Thomas> +        string "Custom Git version"

And here.

Otherwise it looks good. The only possible improvement would be to make
it simply a custum URL, and let the Makefile.package.in support sort out
if it's a tarball, a svn repo or git or whatever.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list