This fix removes the zephyr/ prefix from linker included files. With this prefix the build works only for Ninja and not for other build tools. Linking in Zephyr / CMake: - Ninja invokes linking directly from <build>. - Make invokes linking form <build>/zephyr. The linker default uses cwd for looking up INCLUDE directives if not found in list of includes. Zephyr always adds <build>/zephyr as link include using CMake, and this is passed to ld as -L<build>/zephyr therefore using INCLUDE isr_tables_swi.ld ensures it will be correctly found in all cases. Signed-off-by: Radosław Koppel <radoslaw.koppel@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| cortex_a_r | ||
| cortex_m | ||
| mmu | ||
| mpu | ||
| offsets | ||
| __aeabi_atexit.c | ||
| CMakeLists.txt | ||
| elf.c | ||
| fatal.c | ||
| gdbstub.c | ||
| header.S | ||
| irq_offload.c | ||
| Kconfig | ||
| Kconfig.vfp | ||
| nmi_on_reset.S | ||
| nmi.c | ||
| swi_tables.ld | ||
| tls.c | ||
| userspace.S | ||
| vector_table.ld | ||
| zimage_header.ld | ||