[PATCH master] kbuild: Port silent mode detection to future gnu make.
Sascha Hauer
sha at pengutronix.de
Tue Jun 13 01:35:40 PDT 2023
On Tue, Jun 13, 2023 at 10:02:03AM +0200, Ahmad Fatoum wrote:
> On 13.06.23 09:59, Sascha Hauer wrote:
> > On Mon, Jun 12, 2023 at 02:58:24PM +0200, Ahmad Fatoum wrote:
> >> Port silent mode detection to the future (post make-4.4) versions of gnu make.
> >>
> >> Makefile contains the following piece of make code to detect if option -s is
> >> specified on the command line.
> >>
> >> ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
> >>
> >> This code is executed by make at parse time and assumes that MAKEFLAGS
> >> does not contain command line variable definitions.
> >> Currently if the user defines a=s on the command line, then at build only
> >> time MAKEFLAGS contains " -- a=s".
> >> However, starting with commit dc2d963989b96161472b2cd38cef5d1f4851ea34
> >
> > To which repository does dc2d963989b96161472b2cd38cef5d1f4851ea34
> > belong?
>
> https://git.savannah.gnu.org/cgit/make.git/commit/?id=dc2d963989b96161472b2cd38cef5d1f4851ea34
Ok. Reworded "commit dc2d963989b96161472b2cd38cef5d1f4851ea34" to:
GNU Make commit dc2d963989b9 ("Always add command line variable
assignments to MAKEFLAGS")
and applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list