[PATCH 1/3] kbuild: drop non-existent targets from CLEAN_FILES

Ahmad Fatoum a.fatoum at pengutronix.de
Fri Nov 28 02:41:26 PST 2025


From: Ahmad Fatoum <a.fatoum at barebox.org>

A number of these targets are a no longer generated and if support for
them were to be added, it would be PBL-prefixed and handled in images/,
so these left-overs can safely be dropped.

Nothing needs to be removed in .gitignore, as a /barebox* rule is
matching all of the removed files and more.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 Makefile | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 8824102537ba..2534fb4b467b 100644
--- a/Makefile
+++ b/Makefile
@@ -1386,11 +1386,9 @@ endif # CONFIG_MODULES
 CLEAN_DIRS  += $(MODVERDIR)
 CLEAN_FILES +=	barebox System.map include/generated/barebox_default_env.h \
                 .tmp_version .tmp_barebox* barebox.bin barebox.map \
-		.tmp_kallsyms* barebox.ldr compile_commands.json \
+		.tmp_kallsyms* compile_commands.json \
 		.tmp_barebox.o barebox.o barebox-flash-image \
-		barebox.srec barebox.s5p barebox.ubl \
-		barebox.uimage \
-		barebox.efi barebox.canon-a1100.bin
+		barebox.srec barebox.efi
 
 CLEAN_FILES +=	scripts/bareboxenv-target scripts/kernel-install-target \
 		scripts/bareboxcrc32-target scripts/bareboximd-target \
-- 
2.47.3




More information about the barebox mailing list