]> git.dujemihanovic.xyz Git - u-boot.git/commit
Makefile: fix shell error for darwin major/minor version check
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 22 Jan 2023 00:42:10 +0000 (01:42 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 6 Feb 2023 18:04:52 +0000 (13:04 -0500)
commit748c1ab464852eaca06a57af067565e73223e7bb
tree80dce5b56d4d979a70ac62f1beae2078b0f2ec8e
parentc5279ea1c300d52a5cb4b47881f21cf08caec790
Makefile: fix shell error for darwin major/minor version check

Fix shell error:
 /bin/sh: line 0: [: too many arguments

for the darwin major/minor version check.

It seems for os_x_before for some reason DARWIN_MAJOR_VERSION and
DARWIN_MINOR_VERSION are empty. To fix this set DARWIN_MAJOR_VERSION
and DARWIN_MINOR_VERSION to be evaluated once so the value is retained.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Makefile