mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <mol@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Sandy Patterson <apatterson@sightlogix.com>
Subject: Re: [ptxdist] [v2] kernel-headers: build out-of-tree
Date: Fri, 27 Mar 2020 10:52:10 +0100	[thread overview]
Message-ID: <E1jHles-0008Pl-Ro@dude02.lab.pengutronix.de> (raw)
In-Reply-To: <20200302163703.21265-1-apatterson@sightlogix.com>

Thanks, applied.

Michael

[sent from post-receive hook]

On Fri, 27 Mar 2020 10:52:10 +0100, Sandy Patterson <apatterson@sightlogix.com> wrote:
> When building both kernel and kernel-headers from the same folder the
> kernel-headers currently get built inside the tree while kernel is built
> outside. This changes kernel-headers to also get built out-of-tree with
> OOT=KEEP so as not to break some kernel builds.
> 
> Signed-off-by: Sandy Patterson <apatterson@sightlogix.com>
> ---
>  rules/kernel-header.make | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/rules/kernel-header.make b/rules/kernel-header.make
> index c173eb74b..6f540409f 100644
> --- a/rules/kernel-header.make
> +++ b/rules/kernel-header.make
> @@ -25,8 +25,10 @@ KERNEL_HEADER_URL		:= https://git.kernel.org/torvalds/t/$(KERNEL_HEADER).$(KERNE
>  endif
>  KERNEL_HEADER_SOURCE		:= $(SRCDIR)/linux-$(KERNEL_HEADER_VERSION).$(KERNEL_HEADER_SUFFIX)
>  KERNEL_HEADER_DIR		:= $(BUILDDIR)/kernel-header-$(KERNEL_HEADER_VERSION)
> +KERNEL_HEADER_BUILD_DIR	:= $(KERNEL_HEADER_DIR)-build
>  KERNEL_HEADER_PKGDIR		:= $(PKGDIR)/kernel-header-$(KERNEL_HEADER_VERSION)
>  KERNEL_HEADER_LICENSE		:= GPL-2.0-only
> +KERNEL_HEADER_BUILD_OOT	:= KEEP
>  
>  # ----------------------------------------------------------------------------
>  # Prepare
> @@ -37,6 +39,7 @@ KERNEL_HEADER_PATH		:= PATH=$(CROSS_PATH)
>  KERNEL_HEADER_CONF_TOOL		:= NO
>  KERNEL_HEADER_MAKE_OPT		:= \
>  	V=$(PTXDIST_VERBOSE) \
> +	O=$(KERNEL_HEADER_BUILD_DIR) \
>  	HOSTCC=$(HOSTCC) \
>  	ARCH=$(GENERIC_KERNEL_ARCH) \
>  	CROSS_COMPILE=$(PTXCONF_COMPILER_PREFIX)
> 

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2020-03-27  9:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-02 16:37 [ptxdist] [PATCH v2] " Sandy Patterson
2020-03-27  9:52 ` Michael Olbrich [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=E1jHles-0008Pl-Ro@dude02.lab.pengutronix.de \
    --to=mol@pengutronix.de \
    --cc=apatterson@sightlogix.com \
    --cc=ptxdist@pengutronix.de \
    /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