Skip to content
Snippets Groups Projects
Commit 57b6fb7e authored by Mark Kettenis's avatar Mark Kettenis Committed by Tom Rini
Browse files

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: 04b1d842 ("Makefile: fix empty MK_ARCH when using ccache")
Signed-off-by: default avatarMark Kettenis <kettenis@openbsd.org>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Tested-by: default avatarQuentin Schulz <quentin.schulz@cherry.de>
parent a37064cb
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment