Skip to content
Commit 08070fbf authored by Radosław Koppel's avatar Radosław Koppel Committed by Henrik Brix Andersen
Browse files

arch: arm, arm64: Remove zephyr prefix from linker includes



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: default avatarRadosław Koppel <radoslaw.koppel@nordicsemi.no>
parent adaacefc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment