[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNATJP5Ua3bWsxKQFUJ=m7TmOzz168_ZrZ4O4tnvd6mrgjA@mail.gmail.com>
Date: Wed, 14 Jun 2017 10:15:14 +0900
From: Masahiro Yamada <yamada.masahiro@...ionext.com>
To: Cao jin <caoj.fnst@...fujitsu.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Michal Marek <mmarek@...e.com>
Subject: Re: [PATCH v2] Kbuild: tiny correction on `make help`
2017-06-13 18:52 GMT+09:00 Cao jin <caoj.fnst@...fujitsu.com>:
> Yamada-san,
>
> I have a question on the current top level Makefile. There are
> following lines, I have trouble to understand "firstword x$(MAKEFLAGS)"
> in 2nd line, why there is a 'x' there?
>
>
> ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
> ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
I do not understand the 'x' either.
Michal suggested the code according to the following:
https://patchwork.kernel.org/patch/3291301/
(I hope Michal can help you.)
My first guess was, it was added just in case $(MAKEFLAGS) is empty.
Actually $(firstword ) seems to work with empty argument, though.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists