summaryrefslogtreecommitdiff
path: root/docs/zephyr/tutorial
diff options
context:
space:
mode:
authorIksas <iksas@mailbox.org>2023-05-12 19:08:26 +0200
committerDamien George <damien@micropython.org>2024-01-24 10:43:18 +1100
commitce2058685b9ca2278849b3117c2461f6b6fc727f (patch)
treed221712258b8ff357816955a4c55dc911998b20d /docs/zephyr/tutorial
parent057701a7708ca6ca96aaf3784c0ef72d22424df8 (diff)
ports: Fix handling of paths containing spaces in Makefiles.
Make can't handle paths with spaces, see https://savannah.gnu.org/bugs/?712 The following workarounds exist: - When using make's built-in functions: - Use relative paths wherever possible to avoid spaces in the first place. - All spaces in paths can be escaped with backslashes; quotes don't work. - Some users use the shell to temporarily rename directories, or to create symlinks without spaces. - When using make to pass commands to the system's shell, enclose paths in quotes. While make will still interpret quoted strings with spaces as multiple words, the system's shell will correctly parse the resulting command. This commit contains the following fixes: - In ports/stm32/mboot/Makefile: Use relative paths to avoid spaces when using built-in functions. - In all other files: Use quotes to enclose paths when make is used to call shell functions. All changes have been tested with a directory containing spaces. Signed-off-by: Iksas <iksas@mailbox.org>
Diffstat (limited to 'docs/zephyr/tutorial')
0 files changed, 0 insertions, 0 deletions