From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752105AbeDFQzE (ORCPT ); Fri, 6 Apr 2018 12:55:04 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:57280 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751412AbeDFQzC (ORCPT ); Fri, 6 Apr 2018 12:55:02 -0400 Date: Fri, 6 Apr 2018 18:54:45 +0200 From: Jiri Olsa To: Masahiro Yamada 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 Subject: Re: [PATCH 3/9] kbuild: Do not pass arguments to link-vmlinux.sh 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 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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