Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: Magnus Damm <damm@opensource.se>
Cc: linux-arm-kernel@lists.infradead.org, catalin.marinas@arm.com,
	geert+renesas@glider.be
Subject: Re: [PATCH] arm64: clean up vdso and vdso32 files
Date: Mon, 21 Jun 2021 11:55:30 +0100	[thread overview]
Message-ID: <20210621105530.GA29072@willie-the-truck> (raw)
In-Reply-To: <162414828517.22205.15691327042917921585.sendpatchset@octo>

On Sun, Jun 20, 2021 at 09:18:05AM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
> 
> Adjust the Makefile to remove vdso and vdso32 files during distclean.
> 
> The following vdso files get generated by the defconfig as of v5.13-rc5:
>  arch/arm64/kernel/vdso/vdso.lds
>  arch/arm64/kernel/vdso/vdso.so
>  arch/arm64/kernel/vdso/vdso.so.dbg
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> ---
> 
>  arch/arm64/Makefile |    3 +++
>  1 file changed, 3 insertions(+)
> 
> --- 0001/arch/arm64/Makefile
> +++ work/arch/arm64/Makefile	2021-06-19 18:45:17.718559303 +0900
> @@ -181,6 +181,9 @@ archprepare:
>  # We use MRPROPER_FILES and CLEAN_FILES now
>  archclean:
>  	$(Q)$(MAKE) $(clean)=$(boot)
> +	$(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso

Does this work for out-of-tree builds? Feels like we might need an
$(objtree) or something...

> +	$(if $(CONFIG_COMPAT_VDSO), \
> +		$(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso32)

Can we make this unconditional?

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2021-06-21 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-20  0:18 [PATCH] arm64: clean up vdso and vdso32 files Magnus Damm
2021-06-21  7:43 ` Geert Uytterhoeven
2021-06-21 10:55 ` Will Deacon [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=20210621105530.GA29072@willie-the-truck \
    --to=will@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=damm@opensource.se \
    --cc=geert+renesas@glider.be \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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