[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2004011430120.15809@pobox.suse.cz>
Date: Wed, 1 Apr 2020 14:32:16 +0200 (CEST)
From: Miroslav Benes <mbenes@...e.cz>
To: Julien Thierry <jthierry@...hat.com>
cc: linux-kernel@...r.kernel.org, jpoimboe@...hat.com,
peterz@...radead.org, raphael.gault@....com
Subject: Re: [PATCH v2 01/10] objtool: Move header sync-check ealier in
build
On Fri, 27 Mar 2020, Julien Thierry wrote:
> Currently, the check of tools files against kernel equivalent is only
> done after every object file has been built.
> This means one might fix
> build issues against outdated headers without seeing a warning about
> this.
Could you explain the above in more detail, please?
Otherwise it looks good.
Miroslav
> Check headers before any object is built. Also, make it part of a
> FORCE'd recipe so every attempt to build objtool will report the
> outdated headers (if any).
>
> Signed-off-by: Julien Thierry <jthierry@...hat.com>
> ---
> tools/objtool/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
> index ee08aeff30a1..519af6ec4eee 100644
> --- a/tools/objtool/Makefile
> +++ b/tools/objtool/Makefile
> @@ -43,10 +43,10 @@ export srctree OUTPUT CFLAGS SRCARCH AWK
> include $(srctree)/tools/build/Makefile.include
>
> $(OBJTOOL_IN): fixdep FORCE
> + @$(CONFIG_SHELL) ./sync-check.sh
> @$(MAKE) $(build)=objtool
>
> $(OBJTOOL): $(LIBSUBCMD) $(OBJTOOL_IN)
> - @$(CONFIG_SHELL) ./sync-check.sh
> $(QUIET_LINK)$(CC) $(OBJTOOL_IN) $(LDFLAGS) -o $@
>
>
> --
> 2.21.1
>
Powered by blists - more mailing lists