From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/11] toolchain-external: apply kernel headers check to non-custom toolchains
Date: Sun, 8 Jun 2014 18:10:13 +0200 [thread overview]
Message-ID: <20140608161013.GE3266@free.fr> (raw)
In-Reply-To: <1401619668-28062-2-git-send-email-thomas.petazzoni@free-electrons.com>
Thomas, All,
On 2014-06-01 12:47 +0200, Thomas Petazzoni spake thusly:
> Since the introduction of the kernel headers Config.in options, the
> external toolchain logic had a check for custom external toolchains to
> verify that the kernel headers version entered by the user matches the
> one of the toolchain. However, this check was not made for non-custom
> external toolchains (i.e the built-in profiles, such as Linaro,
> CodeSourcery and al.), making the assumption that the Buildroot
> developers will do the right selection.
>
> However, it is quite nice when bumping external toolchains to have
> this automatic kernel headers version check, to ensure we select the
> appropriate kernel headers version.
>
> Therefore, this commit makes the kernel headers version check
> applicable to non-custom external toolchains.
>
> Cc: Yann E. MORIN <yann.morin.1998@free.fr>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> toolchain/toolchain-external/toolchain-external.mk | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> index c73cc4a..70781db 100644
> --- a/toolchain/toolchain-external/toolchain-external.mk
> +++ b/toolchain/toolchain-external/toolchain-external.mk
> @@ -466,11 +466,9 @@ define TOOLCHAIN_EXTERNAL_CONFIGURE_CMDS
> @echo "External toolchain doesn't support --sysroot. Cannot use." ; \
> exit 1 ; \
> fi ; \
> - if [ "$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM)" = "y" ]; then \
> - $(call check_kernel_headers_version,\
> - $(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS)),\
> - $(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST))); \
> - fi ; \
> + $(call check_kernel_headers_version,\
> + $(call toolchain_find_sysroot,$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS)),\
> + $(call qstrip,$(BR2_TOOLCHAIN_HEADERS_AT_LEAST))); \
> if test "$(BR2_arm)" = "y" ; then \
> $(call check_arm_abi,\
> "$(TOOLCHAIN_EXTERNAL_CC) $(TOOLCHAIN_EXTERNAL_CFLAGS)",\
> --
> 1.9.3
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2014-06-08 16:10 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-01 10:47 [Buildroot] [PATCH 00/11] Round of external toolchain updates Thomas Petazzoni
2014-06-01 10:47 ` [Buildroot] [PATCH 01/11] toolchain-external: apply kernel headers check to non-custom toolchains Thomas Petazzoni
2014-06-08 16:10 ` Yann E. MORIN [this message]
2014-06-01 10:47 ` [Buildroot] [PATCH 02/11] toolchain-external: do not pass TOOLCHAIN_EXTERNAL_CFLAGS for kernel headers check Thomas Petazzoni
2014-06-08 16:17 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 03/11] toolchain-external: support only one Linaro ARM toolchain at a time Thomas Petazzoni
2014-06-08 16:18 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 04/11] toolchain-external: support only one Linaro AArch64 " Thomas Petazzoni
2014-06-08 16:19 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 05/11] toolchain-external: bump Linaro ARM to 2014.05 Thomas Petazzoni
2014-06-08 16:30 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 06/11] toolchain-external: bump Linaro ARMeb toolchain to 2014.04 Thomas Petazzoni
2014-06-08 16:37 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 07/11] toolchain-external: bump Linaro AArch64 toolchain to 2014.05 Thomas Petazzoni
2014-06-08 16:39 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 08/11] toolchain-external: bump musl external toolchains to 1.1.1 Thomas Petazzoni
2014-06-01 10:58 ` Baruch Siach
2014-06-01 11:02 ` Thomas Petazzoni
2014-06-13 12:49 ` Peter Korsgaard
2014-06-01 10:47 ` [Buildroot] [PATCH 09/11] toolchain-external: add CodeSourcery MIPS 2014.05, remove 2012.09 Thomas Petazzoni
2014-06-08 16:44 ` Yann E. MORIN
2014-06-01 10:47 ` [Buildroot] [PATCH 10/11] toolchain-external: add CodeSourcery PowerPC 2012.03 Thomas Petazzoni
2014-06-08 16:49 ` Yann E. MORIN
2014-06-08 16:54 ` Thomas Petazzoni
2014-06-13 13:00 ` Ryan Barnett
2014-06-01 10:47 ` [Buildroot] [PATCH 11/11] toolchain-external: add ADI Blackfin 2014R1 toolchain, remove 2012R1 Thomas Petazzoni
2014-06-08 17:16 ` Yann E. MORIN
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=20140608161013.GE3266@free.fr \
--to=yann.morin.1998@free.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.