Makefile: Forcefully regenerate linker.lds

This fixes linking issues with ld.lld when having to regenerate linker.lds after configuration changes.
This commit is contained in:
Trijal Saha authored and Ивайло Иванов committed 2026-03-14 15:13:45 +02:00
1 parent 9a03aa6395
commit 84c5f568b3
1 file changed
+1 -1
+1 -1
View File
@@ -387,7 +387,7 @@ ifdef CONFIG_RAMDISK_NO_COPY
cmd_cpp_lds += -DRAMDISK_SIZE=$(shell stat -c%s $(RAMDISK_PATH))
endif
arch/$(ARCH)/linker.lds: arch/$(ARCH)/linker.lds.S $(linker-script-deps)
arch/$(ARCH)/linker.lds: arch/$(ARCH)/linker.lds.S $(linker-script-deps) FORCE
$(call if_changed,cpp_lds)
#