micropython/ports
Iksas ce2058685b 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>
2024-01-24 10:43:18 +11:00
..
bare-arm
cc3200
embed embed: Fix alloca include for FreeBSD and NetBSD. 2024-01-05 01:03:25 -06:00
esp32 ports: Fix handling of paths containing spaces in Makefiles. 2024-01-24 10:43:18 +11:00
esp8266
mimxrt ports: Fix handling of paths containing spaces in Makefiles. 2024-01-24 10:43:18 +11:00
minimal
nrf nrf: Fix _start() build issue with CMSIS 5.9.0. 2024-01-22 12:40:16 +11:00
pic16bit
powerpc
qemu-arm
renesas-ra renesas-ra/boards/ARDUINO_PORTENTA_C33: Fix the RTC clock source. 2024-01-21 00:19:20 +11:00
rp2 ports: Fix handling of paths containing spaces in Makefiles. 2024-01-24 10:43:18 +11:00
samd samd/mcu/samd21: Enable MICROPY_STACK_CHECK on SAMD21. 2024-01-08 23:24:39 +11:00
stm32 ports: Fix handling of paths containing spaces in Makefiles. 2024-01-24 10:43:18 +11:00
unix
webassembly
windows
zephyr