[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNAR50AdaOUZ9taD9rcD_mhKYR47YqWnxN0T9SbD9+j9vBA@mail.gmail.com>
Date: Tue, 9 Jul 2019 10:06:59 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Jonathan Corbet <corbet@....net>
Cc: Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Sam Ravnborg <sam@...nborg.org>,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH v2] kbuild: get rid of misleading $(AS) from documents
On Tue, Jul 9, 2019 at 5:02 AM Jonathan Corbet <corbet@....net> wrote:
>
> On Sun, 7 Jul 2019 01:25:08 +0900
> Masahiro Yamada <yamada.masahiro@...ionext.com> wrote:
>
> > The assembler files in the kernel are *.S instead of *.s, so they must
> > be preprocessed. Since 'as' of GNU binutils is not able to preprocess,
> > we always use $(CC) as an assembler driver.
> >
> > $(AS) is almost unused in Kbuild. As of writing, there is just one place
> > that directly invokes $(AS).
> >
> > $ git grep -e '$(AS)' -e '${AS}' -e '$AS' -e '$(AS:' -e '${AS:' -- :^Documentation
> > drivers/net/wan/Makefile: AS68K = $(AS)
> >
> > The documentation about *_AFLAGS* sounds like the flags were passed
> > to $(AS). This is somewhat misleading.
> >
> > Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> > Reviewed-by: Nathan Chancellor <natechancellor@...il.com>
>
> Would you like me to send this up through the docs tree?
No, I will apply it to linux-kbuild shortly.
Thanks.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists