diff options
author | qthedev <qthedev@protonmail.com> | 2022-02-05 13:25:16 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-11 19:28:47 +0300 |
commit | 42db3738065d5adb41f7481d21eb2823c929b8e6 (patch) | |
tree | 8ebb7c30592690fd601d7dd02a24dc8bf683b66c /fs/jffs2 | |
parent | 63de067a1bcf57d66d6f68e6524f3e7fa8e5ea3d (diff) | |
download | u-boot-42db3738065d5adb41f7481d21eb2823c929b8e6.tar.xz |
Replace echo -n's used in environment processing with touch
echo -n does not give the intended effect when invoked in macOS through
/bin/sh, which is the shell make uses by default, see
"https://stackoverflow.com/questions/11675070/makefile-echo-n-not-working"
for a detailed explanation. In this case, it resulted in "-n" being
written to env.txt and env.in even though they should be empty, which
caused compilation to fail with "Your board uses a text-file
environment, so must not define CONFIG_EXTRA_ENV_SETTINGS".
This patch prevents the error by replacing echo -n's with touch, as they
are used to create empty files in these cases.
Diffstat (limited to 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions