[PATCH v2 0/6] Kbuild: Fix cleanup of generated sources in tools (and more)

Tobias Deiminger tdmg at linutronix.de
Tue Jun 20 00:41:01 CEST 2023


This patch series fixes various unexpected leftovers after running
make clean and make mrproper.

The test suggested during review of v1 [0] revealed more cleanup related
issues. I thought it's best to fix them all together in a somewhat
extended v2, to let the new test pass without cheating.

Changes in v2:
- add test for 'make clean' and 'make mrproper'
- fix found issues until test passes
- move .gitignore changes to separate commit

[0] http://patchwork.ozlabs.org/project/uboot/patch/20230614113954.51812-2-tobias.deiminger@linutronix.de/

Tobias Deiminger (6):
  Kbuild: Fix cleanup of generated sources in tools
  Adjust gitignore for tools/generated/
  Kbuild: Fix cleanup of VPL
  Kbuild: Fix cleanup of *.dtb for some archs
  Kbuild: Fix cleanup of *.dtbo for sandbox
  test: Find leftovers after clean/mrproper

 Makefile                            |   4 +-
 arch/sandbox/dts/Makefile           |   2 +-
 dts/Makefile                        |   4 +-
 test/py/tests/test_cleanup_build.py | 105 ++++++++++++++++++++++++++++
 tools/.gitignore                    |   1 +
 tools/Makefile                      |  64 ++++++++---------
 tools/env/.gitignore                |   1 -
 7 files changed, 144 insertions(+), 37 deletions(-)
 create mode 100644 test/py/tests/test_cleanup_build.py


base-commit: 50842b217fef505a0ec6662cc2acdc55d0bb23c5
-- 
2.30.2



More information about the U-Boot mailing list