diff options
| author | David Lechner <[email protected]> | 2026-01-05 14:35:04 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-06 14:42:48 -0600 |
| commit | 726d11289f2776098b6fcd99b413b590782a556d (patch) | |
| tree | 838649d9e76c40cefa5983a648f0d0255da9d4a8 /include | |
| parent | 75a5404a588938d2803e07acb9977e3dfe29693e (diff) | |
scripts/Makefile.autoconf: use abs_srctree for out-of-tree symlink
Replace usage of $(srctree) with $(abs_srctree) when creating a symlink
to include/asm/arch in out of tree builds.
When building_out_of_srctree is true, $(srctree) is just "..", so the
created symlink was broken, for example:
build-mt8365_evk/include/asm/arch -> ../arch/arm/include/asm/arch-mediatek
Which would resolve to a non-existent path:
build-mt8365_evk/include/asm/arch/arm/include/asm/arch-mediatek
To fix, we need to use the absolute path to the source tree since we
don't know where the build tree is located relative to the source tree.
Fixes: bd3f9ee679b4 ("kbuild: Bump the build system to 6.1")
Signed-off-by: David Lechner <[email protected]>
Tested-by: Sean Anderson <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
