Skip to contentSkip to conversation

Delete .builtin-dtbs.S when running make clean

PATCH In review Charles Mirabile 3 participants 3 messages Mar 8 – Mar 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Delete .builtin-dtbs.S when running make clean

The makefile tries to delete a file named ".builtin-dtb.S" but the file created by scripts/Makefile.vmlinux is actually called ".builtin-dtbs.S".

Fixes 654102df2ac2a ("kbuild: add generic support for built-in boot DTBs")
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index d763c2c75cdbf..4d2a9d938f713 100644
@@ -1578,7 +1578,7 @@ CLEAN_FILES += vmlinux.symvers modules-only.symvers \
 	       modules.builtin.ranges vmlinux.o.map vmlinux.unstripped \
 	       compile_commands.json rust/test \
 	       rust-project.json .vmlinux.objs .vmlinux.export.c \
-               .builtin-dtbs-list .builtin-dtb.S
+               .builtin-dtbs-list .builtin-dtbs.S
 
 # Directories & files removed with 'make mrproper'
 MRPROPER_FILES += include/config include/generated          \
Signature · 1 line
2.53.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Charles Mirabile

The makefile tries to delete a file named ".builtin-dtb.S" but the file created by scripts/Makefile.vmlinux is actually called ".builtin-dtbs.S".

Fixes 654102df2ac2a ("kbuild: add generic support for built-in boot DTBs")
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Nice catch, thanks!

Signature · 1 line
Nicolas
#2 lore raw
In reply to Charles Mirabile
Quoted 8 lines · Charles Mirabile

The makefile tries to delete a file named ".builtin-dtb.S" but the file created by scripts/Makefile.vmlinux is actually called ".builtin-dtbs.S".

Fixes 654102df2ac2a ("kbuild: add generic support for built-in boot DTBs")

[...]

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git kbuild-fixes

Thanks!

[1/1] Delete .builtin-dtbs.S when running make clean

      https://git.kernel.org/kbuild/c/a76e30c2479ce

Please look out for regression or issue reports or other follow up comments, as they may result in the patch/series getting dropped or reverted. Patches applied to an "unstable" branch are accepted pending wider testing in -next and any post-commit review; they will generally be moved to the main branch in a week if no issues are found.

Best regards,

Signature · 1 line
Nathan Chancellor <[email protected]>