Re: [PATCH] Kbuild: append missing-syscalls to the default targetlist

From: Michal Marek
Date: Tue Nov 01 2011 - 19:22:34 EST


On Wed, Sep 14, 2011 at 01:17:10AM -0400, Arnaud Lacombe wrote:
> 2011/9/9 Michal Marek <mmarek@xxxxxxx>:
> > On 25.8.2011 03:03, Arnaud Lacombe wrote:
> >> +always += missing-syscalls
> >> +targets += missing-syscalls
> >> +
> >>  quiet_cmd_syscalls = CALL    $<
> >>        cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
> >
> > checksyscalls.sh needs to depend on generated/asm-offsets.h, otherwise a
> > parallel build will fail.
> >
> true.
>
> This:
>
> diff --git a/Kbuild b/Kbuild
> index 1a2eb32..4caab4f 100644
> --- a/Kbuild
> +++ b/Kbuild
> @@ -94,7 +94,7 @@ targets += missing-syscalls
> quiet_cmd_syscalls = CALL $<
> cmd_syscalls = $(CONFIG_SHELL) $< $(CC) $(c_flags)
>
> -missing-syscalls: scripts/checksyscalls.sh FORCE
> +missing-syscalls: scripts/checksyscalls.sh $(offsets-file) FORCE
> $(call cmd,syscalls)

OK, applied to kbuild/kbuild with this fixup.

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/