Re: [PATCH] kbuild: provide include/asm/asm-prototypes.h for ARM

From: Russell King - ARM Linux
Date: Thu Oct 20 2016 - 10:33:44 EST


On Fri, Oct 21, 2016 at 01:20:17AM +1100, Nicholas Piggin wrote:
> Good catch, I'm surprised you're the first one who reported it. This patch
> seems to do the trick for me:

And me, thanks, so...

>
> From: Nicholas Piggin <npiggin@xxxxxxxxx>
> Date: Fri, 21 Oct 2016 01:13:33 +1100
> Subject: [PATCH] kbuild: prevent lib-ksyms.o rebuilds
>
> Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx>

Reported-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
Tested-by: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>

>
> ---
> scripts/Makefile.build | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/scripts/Makefile.build b/scripts/Makefile.build
> index de46ab0..e1f25d6 100644
> --- a/scripts/Makefile.build
> +++ b/scripts/Makefile.build
> @@ -430,6 +430,9 @@ cmd_export_list = $(OBJDUMP) -h $< | \
>
> $(obj)/lib-ksyms.o: $(lib-target) FORCE
> $(call if_changed,export_list)
> +
> +targets += $(obj)/lib-ksyms.o
> +
> endif
>
> #

--
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.