From: Heinrich Schuchardt Date: Thu, 3 Oct 2019 16:45:29 +0000 (+0000) Subject: Makefile: mrproper should remove *.pyc files X-Git-Tag: v2025.01-rc5-pxa1908~2767^2~10 X-Git-Url: http://git.dujemihanovic.xyz/img/%7B%7B%20%24image.RelPermalink%20%7D%7D?a=commitdiff_plain;h=d4c51412c5d386f27f483e8c486f9e1f5b1da4eb;p=u-boot.git Makefile: mrproper should remove *.pyc files *.pyc files contain compiled Python bytecode. 'make mrproper' should remove them. Removing *.pyc files helps for instance sometimes when running into an error "binman: Unknown entry type 'blob' in node '/binman/blob'". Signed-off-by: Heinrich Schuchardt Reviewed-by: Bin Meng --- diff --git a/Makefile b/Makefile index 60ae53d638..ac0b8882ad 100644 --- a/Makefile +++ b/Makefile @@ -1875,7 +1875,7 @@ clean: $(clean-dirs) $(call cmd,rmfiles) @find $(if $(KBUILD_EXTMOD), $(KBUILD_EXTMOD), .) $(RCS_FIND_IGNORE) \ \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ - -o -name '*.ko.*' -o -name '*.su' \ + -o -name '*.ko.*' -o -name '*.su' -o -name '*.pyc' \ -o -name '.*.d' -o -name '.*.tmp' -o -name '*.mod.c' \ -o -name '*.lex.c' -o -name '*.tab.[ch]' \ -o -name '*.symtypes' -o -name 'modules.order' \