[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180110075418.GA32418@93d8b218059b>
Date: Wed, 10 Jan 2018 15:54:20 +0800
From: Alan Kao <nonerkao@...il.com>
To: Christoph Hellwig <hch@....de>
Cc: Palmer Dabbelt <palmer@...ive.com>, Albert Ou <albert@...ive.com>,
Steven Rostedt <rostedt@...dmis.org>,
Ingo Molnar <mingo@...hat.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Kamil Rytarowski <n54@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
patches@...ups.riscv.org, linux-kernel@...r.kernel.org,
Alan Kao <alankao@...estech.com>,
Greentime Hu <greentime@...estech.com>
Subject: Re: [patches] [PATCH 1/6] riscv/ftrace: Add RECORD_MCOUNT support
On Wed, Jan 10, 2018 at 08:43:54AM +0100, Christoph Hellwig wrote:
> On Wed, Jan 10, 2018 at 03:38:09PM +0800, Alan Kao wrote:
> > -LDFLAGS_vmlinux :=
> > +ifeq ($(CONFIG_DYNAMIC_FTRACE),y)
> > + LDFLAGS_vmlinux := --no-relax
> > +else
> > + LDFLAGS_vmlinux :=
> > +endif
>
> Why not:
>
> LDFLAGS_vmlinux :=
> ifeq ($(CONFIG_DYNAMIC_FTRACE),y)
> LDFLAGS_vmlinux += --no-relax
> endif
>
Thanks for the comment! This will be enhanced in the next try.
Alan
Powered by blists - more mailing lists