From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Olsa Subject: Re: [PATCH 3/9] kbuild: Do not pass arguments to link-vmlinux.sh Date: Fri, 6 Apr 2018 18:54:45 +0200 Message-ID: <20180406165445.GB13785@krava> References: <20180405151645.19130-1-jolsa@kernel.org> <20180405151645.19130-4-jolsa@kernel.org> <20180405185950.GA3668@krava> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jiri Olsa , Alexei Starovoitov , Daniel Borkmann , lkml , netdev@vger.kernel.org, Linux Kbuild mailing list , Quentin Monnet , Eugene Syromiatnikov , Jiri Benc , Stanislav Kozina , Jerome Marchand , Arnaldo Carvalho de Melo , Michal Marek , Jiri Kosina To: Masahiro Yamada Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, Apr 06, 2018 at 09:59:59AM +0900, Masahiro Yamada wrote: > 2018-04-06 3:59 GMT+09:00 Jiri Olsa : > > On Fri, Apr 06, 2018 at 12:50:00AM +0900, Masahiro Yamada wrote: > >> 2018-04-06 0:16 GMT+09:00 Jiri Olsa : > >> > There's no need to pass LD* arguments to link-vmlinux.sh, > >> > because they are passed as variables. The only argument > >> > the link-vmlinux.sh supports is the 'clean' argument. > >> > > >> > Signed-off-by: Jiri Olsa > >> > --- > >> > >> Wrong. > >> > >> $(LD) $(LDFLAGS) $(LDFLAGS_vmlinux) > >> exist here so that any change in them > >> invokes scripts/linkk-vmlinux.sh > > > > sry, I can't see that.. but it's just a side fix, > > which is actually not needed for the rest > > > > I'll check on more and address this separately > > > The link command is recorded in .vmlinux.cmd i see.. just for the sake command line, thanks for explanation jirka