nuttx/arch/xtensa
Lee Lup Yuen 6cad7e9582 arm, arm64, xtensa, libxx: Change sed -r to sed -E to support macOS
When we build NuttX on macOS, it shows many `sed` messages (and the build still completes successfully):

```text
$ tools/configure.sh pinephone:nsh
$ make
sed: illegal option -- r
```

This is due to the Makefiles executing `sed -r` which is not a valid option on macOS.

This PR proposes to change `sed -r` to `sed -E` because:

- `sed -E` on macOS is equivalent to `sed -r` on Linux

- `sed -E` and `sed -r` are aliases according to the GNU `sed` Manual

- `sed -E` is already used in nuttx_add_romfs.cmake, nuttx_add_symtab.cmake and process_config.sh
2023-10-10 11:36:32 +03:00
..
include esp32s3/irq: Allow IRAM ISRs to run during SPI flash operation 2023-10-05 11:25:43 +08:00
src arm, arm64, xtensa, libxx: Change sed -r to sed -E to support macOS 2023-10-10 11:36:32 +03:00
Kconfig xtensa: enable -Oz for xtensa to reduce codesize 2023-08-21 02:58:25 +08:00