From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] uboot-tools: Allow users to use uboot's sources
Date: Mon, 3 Feb 2014 22:58:29 +0100 [thread overview]
Message-ID: <20140203225829.67dae85b@skate> (raw)
In-Reply-To: <1391385955-13166-1-git-send-email-maxime.hadjinlian@gmail.com>
Dear Maxime Hadjinlian,
On Mon, 3 Feb 2014 01:05:55 +0100, Maxime Hadjinlian wrote:
> diff --git a/package/uboot-tools/Config.in b/package/uboot-tools/Config.in
> index 7c8f17c..29580dd 100644
> --- a/package/uboot-tools/Config.in
> +++ b/package/uboot-tools/Config.in
> @@ -7,6 +7,24 @@ config BR2_PACKAGE_UBOOT_TOOLS
>
> if BR2_PACKAGE_UBOOT_TOOLS
>
> +if BR2_TARGET_UBOOT
> +
> +choice
> + prompt "version"
> + default BR2_PACKAGE_UBOOT_TOOLS_LATEST_VERSION
> + help
> + Select the specific uboot-tools version you want to use
> +
> +config BR2_PACKAGE_UBOOT_TOOLS_LATEST_VERSION
> + bool "Use latest upstream version"
> +
> +config BR2_PACKAGE_UBOOT_TOOLS_USE_UBOOT_VERSION
> + bool "Use the same version as the uboot package"
Shouldn't this option only be available if the U-Boot package has been
enabled in the configuration?
> +ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_USE_UBOOT_VERSION),y)
> +# We have to use the BR2_TARGET_UBOOT_VERSION because of the order of inclusion
> +# of the mk files.
> +UBOOT_TOOLS_VERSION = $(call qstrip,$(BR2_TARGET_UBOOT_VERSION))
That's more of a question for Arnout, but does the order of .mk files
inclusion matter since we're using '=' and not ':=' ?
> +UBOOT_TOOLS_SOURCE = $(UBOOT_SOURCE)
> +UBOOT_TOOLS_SITE = $(UBOOT_SITE)
> +ifneq ($(UBOOT_SITE_METHOD),)
> +UBOOT_TOOL_SITE_METHOD = $(UBOOT_SITE_METHOD)
> +endif
> +UBOOT_TOOLS_LICENSE = $(UBOOT_LICENSE)
> +UBOOT_TOOLS_LICENSE_FILES = $(UBOOT_LICENSE_FILES)
> +else
> UBOOT_TOOLS_VERSION = 2014.01
> -UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
> -UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
> +UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
> +UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
> UBOOT_TOOLS_LICENSE = GPLv2+
> UBOOT_TOOLS_LICENSE_FILES = Licenses/gpl-2.0.txt
> +endif
>
> define UBOOT_TOOLS_BUILD_CMDS
> $(MAKE) -C $(@D) \
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2014-02-03 21:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 0:05 [Buildroot] [PATCH v2] uboot-tools: Allow users to use uboot's sources Maxime Hadjinlian
2014-02-03 21:58 ` Thomas Petazzoni [this message]
2014-02-03 22:01 ` Maxime Hadjinlian
2014-02-05 17:36 ` Arnout Vandecappelle
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140203225829.67dae85b@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox