diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-10-03 16:45:29 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-10-04 12:21:23 -0400 |
commit | d4c51412c5d386f27f483e8c486f9e1f5b1da4eb (patch) | |
tree | d11fbc50e2e194b95edb216a1d4ad25abd6821c4 | |
parent | fc8db754c289e00b9d4ae06eb20185042b537e7d (diff) | |
download | u-boot-d4c51412c5d386f27f483e8c486f9e1f5b1da4eb.tar.gz |
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 <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' \ |