Commit d54c66f
hal_rpi_pico: Pass CONFIG_PICOLIBC to bootloader. Fix compile_options
Oops. #103436 tried to make the bootloader select the correct specs file
using CONFIG_PICOLIBC, but that variable wasn't set while configuring the
bootloader. Pass that from the Zephyr build into the bootloader build.
This also uncovered a gap in the target_compile_options setting when
picolibc is not the default C library -- the bootloader was getting linked
with --specs=picolibc.specs but it wasn't getting compiled with that flag,
so compilation was happening using the default C library headers.
Signed-off-by: Keith Packard <keithp@keithp.com>1 parent eb3a081 commit d54c66f
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
0 commit comments