package/pkg-generic.mk: add '<pkg>-dirclean-rdepends' command
Get series with b4
b4 am [email protected] change-id 20240820-package-dirclean-rdep-50ca01382136Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | package/pkg-generic.mk: add '<pkg>-dirclean-rdepends' commandpackage/ | +12 | 0 replies | |
| 2/2 | Makefile: document <pkg>-dirclean-rdependsMakefile | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/2] package/pkg-generic.mk: add '<pkg>-dirclean-rdepends' command
This series adds a build target similar to '<pkg>-dirclean' that cleans a package and all of its reverse dependencies (rdepends).
I'm interested in this command as a short-term workaround for reinstalling the target/ and host/ directories when using PER_PACKAGE_DIRECTORIES, as described in this old patch[1]. This command is more reliable then manually picking out the right targets to dirclean.
This command may also be useful when not using PER_PACKAGE_DIRECTORIES, as it can be used to rebuild a library and force dependent packages to rebuild.
[1] https://lore.kernel.org/buildroot/20191212130253.2cb543ba@windsurf/
---
Brandon Maier (2):
package/pkg-generic.mk: add '<pkg>-dirclean-rdepends' command
Makefile: document <pkg>-dirclean-rdepends
Makefile | 3 +++ package/pkg-generic.mk | 12 ++++++++++++ 2 files changed, 15 insertions(+)
---
base-commit: 0196ec4198771e5fe83d6df02c7cd3b13c0ce05f
change-id: 20240820-package-dirclean-rdep-50ca01382136
Best regards,
Signature · 6 lines
Brandon Maier <[email protected]> _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot