changes to included linker scripts are not picked up by the build system #5010
Labels
area: Build System
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
This was a problem in the old Kbuild build system as well.
There's no dependency tracking for included linker scripts, which is pretty much all of them since the base linker script is typically a very small file under arch/xxx/soc that just includes other stuff.
We use the GCC preprocessor to generate the final script that gets fed to ld. Need to use GCC options like -MD to create the dependencies so we can correctly rebuild if one of the included linker scripts changes.
The text was updated successfully, but these errors were encountered: