Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 1/6] Makefile: save MAKE_VERSION
Date: Tue, 14 Jul 2015 23:22:59 +0200	[thread overview]
Message-ID: <55A57DB3.4010806@mind.be> (raw)
In-Reply-To: <1436902975-5004-2-git-send-email-gustavo@zacarias.com.ar>

On 07/14/15 21:42, Gustavo Zacarias wrote:
> Save MAKE_VERSION as RUNNING_MAKE_VERSION since this is later clobbered
> by the make package.
> 
> It will be used by the webkitgtk24 package to check for older make
> versions which have a bug building it with parallel jobs (it hangs).
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  Makefile | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 9a18853..06ca929 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -43,10 +43,13 @@ all:
>  # Set and export the version string
>  export BR2_VERSION := 2015.08-git
>  
> +# Save running make version since it's clobbered by the make package
> +RUNNING_MAKE_VERSION = $(MAKE_VERSION)

 Shouldn't this be := instead of = ? Otherwise it will still be clobbered, no?

 Otherwise:
 Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>

 Regards,
 Arnout

> +
>  # Check for minimal make version (note: this check will break at make 10.x)
>  MIN_MAKE_VERSION = 3.81
> -ifneq ($(firstword $(sort $(MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
> -$(error You have make '$(MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
> +ifneq ($(firstword $(sort $(RUNNING_MAKE_VERSION) $(MIN_MAKE_VERSION))),$(MIN_MAKE_VERSION))
> +$(error You have make '$(RUNNING_MAKE_VERSION)' installed. GNU make >= $(MIN_MAKE_VERSION) is required)
>  endif
>  
>  export HOSTARCH := $(shell uname -m | \
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2015-07-14 21:22 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-14 19:42 [Buildroot] [PATCH v5 0/6] The big webkitgtk bump Gustavo Zacarias
2015-07-14 19:42 ` [Buildroot] [PATCH v5 1/6] Makefile: save MAKE_VERSION Gustavo Zacarias
2015-07-14 21:22   ` Arnout Vandecappelle [this message]
2015-07-14 21:30     ` Gustavo Zacarias
2015-07-14 19:42 ` [Buildroot] [PATCH v5 2/6] webkitgtk24: new package Gustavo Zacarias
2015-07-14 19:42 ` [Buildroot] [PATCH v5 3/6] midori: bump to version 0.5.9 Gustavo Zacarias
2015-07-14 19:42 ` [Buildroot] [PATCH v5 4/6] vala: bump to version 0.28.0 Gustavo Zacarias
2015-07-14 21:54   ` Thomas Petazzoni
2015-07-14 22:12     ` Gustavo Zacarias
2015-07-14 22:27       ` Thomas Petazzoni
2015-07-14 19:42 ` [Buildroot] [PATCH v5 5/6] webkit: mark as deprecated Gustavo Zacarias
2015-07-14 19:42 ` [Buildroot] [PATCH v5 6/6] libgail: " Gustavo Zacarias

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=55A57DB3.4010806@mind.be \
    --to=arnout@mind.be \
    --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