Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/1] Correctly detect GCC version when GCC 7 is available in the host
@ 2017-07-05 13:06 Adrian Perez de Castro
  2017-07-05 13:06 ` [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7 Adrian Perez de Castro
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Perez de Castro @ 2017-07-05 13:06 UTC (permalink / raw)
  To: buildroot

Hi everybody,

Arch Linux has had GCC 7.x packages for a while, and when using it the
BR2_HOST_GCC_AT_LEAST_<num> configuration variables are not populated.

The following patch fixes the issue. I have just finished successfully a
complete build for the Raspberry Pi 3 including some packages which depend
on BR2_HOST_GCC_AT_LEAST_<num> config variables.

Cheers,


Adrian Perez de Castro (1):
  Config.in: add BR2_HOST_GCC_AT_LEAST_7

 Config.in | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.13.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7
  2017-07-05 13:06 [Buildroot] [PATCH 0/1] Correctly detect GCC version when GCC 7 is available in the host Adrian Perez de Castro
@ 2017-07-05 13:06 ` Adrian Perez de Castro
  2017-07-05 14:27   ` Thomas Petazzoni
  2017-07-05 14:50   ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Adrian Perez de Castro @ 2017-07-05 13:06 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
---
 Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Config.in b/Config.in
index 72ceadfde6..e395995ec9 100644
--- a/Config.in
+++ b/Config.in
@@ -57,6 +57,11 @@ config BR2_HOST_GCC_AT_LEAST_6
 	default y if BR2_HOST_GCC_VERSION = "6"
 	select BR2_HOST_GCC_AT_LEAST_5
 
+config BR2_HOST_GCC_AT_LEAST_7
+	bool
+	default y if BR2_HOST_GCC_VERSION = "7"
+	select BR2_HOST_GCC_AT_LEAST_6
+
 # Hidden boolean selected by packages in need of Java in order to build
 # (example: xbmc)
 config BR2_NEEDS_HOST_JAVA
-- 
2.13.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7
  2017-07-05 13:06 ` [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7 Adrian Perez de Castro
@ 2017-07-05 14:27   ` Thomas Petazzoni
  2017-07-05 14:50   ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2017-07-05 14:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  5 Jul 2017 16:06:33 +0300, Adrian Perez de Castro wrote:
> Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
> ---
>  Config.in | 5 +++++
>  1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7
  2017-07-05 13:06 ` [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7 Adrian Perez de Castro
  2017-07-05 14:27   ` Thomas Petazzoni
@ 2017-07-05 14:50   ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2017-07-05 14:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Adrian" == Adrian Perez de Castro <aperez@igalia.com> writes:

 > Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>

Committed to 2017.02.x and 2017.05.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-05 14:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05 13:06 [Buildroot] [PATCH 0/1] Correctly detect GCC version when GCC 7 is available in the host Adrian Perez de Castro
2017-07-05 13:06 ` [Buildroot] [PATCH 1/1] Config.in: add BR2_HOST_GCC_AT_LEAST_7 Adrian Perez de Castro
2017-07-05 14:27   ` Thomas Petazzoni
2017-07-05 14:50   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox