From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] linux-headers: Resynchronize same-as-kernel source selection.
Date: Mon, 4 Feb 2019 13:31:38 +0100 [thread overview]
Message-ID: <20190204123138.GD17819@scaer> (raw)
In-Reply-To: <20180220161557.14766-1-nicolas.cavallari@green-communications.fr>
Nicolas, All,
On 2018-02-20 17:15 +0100, Nicolas Cavallari spake thusly:
> The source selection done by linux.mk need to be duplicated to
> linux-headers.mk for the BR2_KERNEL_HEADERS_AS_KERNEL option to work.
>
> This duplicates these linux.mk changes to linux-headers.mk:
> - Add custom Subversion repository support for the package (986fa44)
> - Add CIP SLTS selection option (31d4fa7)
> - Fix URL for release candidate versions (ff4cccb)
>
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
That patch has been lingering on PAtchwork for a year-or-so now, but in
the meantime, we have had some refactoring in the linux-headers package,
which I believe should cover the same situation:
1eca624c03 package/linux-headers: add support for fetching from custom tarball/git
97ffbc9aee linux-headers: prepare to support custom tarball/git
As such, I've marked this patch as rejected.
If you believe something is still needed, can you please follow up with
an updated and rebased patch, please?
Thank you!
Regards,
Yann E. MORIN.
> ---
> package/linux-headers/linux-headers.mk | 19 +++++++++++++++----
> 1 file changed, 15 insertions(+), 4 deletions(-)
>
> diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
> index f1e3790608..7bc22d3e2a 100644
> --- a/package/linux-headers/linux-headers.mk
> +++ b/package/linux-headers/linux-headers.mk
> @@ -26,6 +26,21 @@ LINUX_HEADERS_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
> LINUX_HEADERS_SITE_METHOD = hg
> # use same hg tarball as linux kernel
> LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
> +else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y)
> +LINUX_HEADERS_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
> +LINUX_HEADERS_SITE_METHOD = svn
> +# use same hg tarball as linux kernel
> +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
> +else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION),y)
> +LINUX_HEADERS_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/bwh/linux-cip.git
> +# use same hg tarball as linux kernel
> +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
> +else ifneq ($(findstring -rc,$(call qstrip,$(BR2_LINUX_KERNEL_VERSION))),)
> +# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for
> +# older -rc kernels.
> +LINUX_HEADERS_SITE = https://git.kernel.org/torvalds/t
> +# use same hg tarball as linux kernel
> +LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.gz
> else
> LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
> # In X.Y.Z, get X and Y. We replace dots and dashes by spaces in order
> @@ -38,10 +53,6 @@ LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
> else ifeq ($(findstring x4.,x$(LINUX_HEADERS_VERSION)),x4.)
> LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
> endif
> -# release candidates are in testing/ subdir
> -ifneq ($(findstring -rc,$(LINUX_HEADERS_VERSION)),)
> -LINUX_HEADERS_SITE := $(LINUX_HEADERS_SITE)/testing
> -endif # -rc
> endif
>
> LINUX_HEADERS_PATCHES = $(call qstrip,$(BR2_LINUX_KERNEL_PATCH))
> --
> 2.15.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2019-02-04 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 16:15 [Buildroot] [PATCH 1/1] linux-headers: Resynchronize same-as-kernel source selection Nicolas Cavallari
2019-02-04 12:31 ` Yann E. MORIN [this message]
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=20190204123138.GD17819@scaer \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox