Skip to content

Kbuild: Fix cleanup of generated sources in tools (and more)

Tobias Deiminger u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 7 repliesIn review

Changes in v2 from the cover letter

- 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/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Kbuild: Fix cleanup of generated sources in toolstools/Makefile+32 -322 replies
2/6Adjust gitignore for tools/generated/tools/.gitignore tools/env/.gitignore+1 -11 reply
3/6Kbuild: Fix cleanup of VPLMakefile+2 -21 reply
4/6Kbuild: Fix cleanup of *.dtb for some archsdts/Makefile+3 -11 reply
5/6Kbuild: Fix cleanup of *.dtbo for sandboxarch/sandbox/dts/Makefile+1 -11 reply
6/6test: Find leftovers after clean/mrpropertest/py/tests/test_cleanup_build.py+105 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]/

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

Signature · 1 line
2.30.2