klipper/src/pru
Kevin O'Connor 8087200ffe Makefile: Don't disable gcc's use-linker-plugin option
This option seems to be confusing ld's region usage checks (builds
that could fit in small chips are being reported as not fitting).  The
option was disabled back in commit 4e8674d5 because it showed worse
results.  However, recent versions of gcc seem to produce the same
results even if this option is enabled, so change the build to avoid
disabling that option on newer versions of gcc (those that have the
-ffat-lto-objects option - which is needed to ensure
compile_time_requests sections can be extracted with objcopy).

The PRU build is dependent on -fuse-linker-plugin, so enable that
option explicitly in its build.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-04-16 13:17:19 -04:00
..
adc.c pru: Use enumerations for pin mappings 2019-03-17 19:38:18 -04:00
gpio.c pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577) 2024-04-27 11:01:57 -04:00
gpio.h pru: Add wrappers for gpio_x_reset() 2018-08-27 12:45:01 -04:00
intc_map_0.h pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577) 2024-04-27 11:01:57 -04:00
internal.h pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577) 2024-04-27 11:01:57 -04:00
Kconfig Kconfig: Support selecting optional features on chips with small flash size 2023-06-08 12:59:30 -04:00
main.c pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577) 2024-04-27 11:01:57 -04:00
Makefile Makefile: Don't disable gcc's use-linker-plugin option 2025-04-16 13:17:19 -04:00
pru.lds Makefile: Include debug symbols in the .elf 2021-06-08 19:29:16 -04:00
pru0.c command: Support 2-byte message ids 2024-06-10 12:27:12 -04:00
resource_table.h pru: BeagleBone Firmware upgrade to Debian 11.7 Bullseye (#6577) 2024-04-27 11:01:57 -04:00