lkml.org 
[lkml]   [2011]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Kbuild: append missing-syscalls to the default target list
On 25.8.2011 03:03, Arnaud Lacombe wrote:
> This avoid an extra make invocation on `prepare0'.
>
> Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
> ---
> Kbuild | 4 +++-
> Makefile | 1 -
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/Kbuild b/Kbuild
> index 2114113..1a2eb32 100644
> --- a/Kbuild
> +++ b/Kbuild
> @@ -88,10 +88,12 @@ $(obj)/$(offsets-file): arch/$(SRCARCH)/kernel/asm-offsets.s Kbuild
> # 3) Check for missing system calls
> #
>
> +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.

Michal



\
 
 \ /
  Last update: 2011-09-09 13:57    [W:0.077 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site