]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: avoid non-standard sed expressions
authorMark Kettenis <kettenis@openbsd.org>
Tue, 26 Nov 2024 19:12:14 +0000 (20:12 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 30 Nov 2024 17:57:08 +0000 (11:57 -0600)
commit57b6fb7eb1f8fc4e80418006db0611e4c365623b
treed20138f0fd5d4b816f9bc8fe9789b1963dd8a88d
parenta37064cb2e482739908e76d6a53914301c8bb8ee
Makefile: avoid non-standard sed expressions

The '?' that is used in the sed expression that determines MK_ARCH
is part of the extended regular expression syntax, but the default
behaviour of sed as specified by POSIX is to use only basic regular
expression syntax.  Use the equivalent '\{0,1\}' instead as
suggested by the OpenBSD re_format(7) man page.

Fixes: 04b1d84221d5 ("Makefile: fix empty MK_ARCH when using ccache")
Signed-off-by: Mark Kettenis <kettenis@openbsd.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Quentin Schulz <quentin.schulz@cherry.de>
Makefile