From 9337615166ee18f571c4a2c725214e86ef90941d Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 4 Nov 2019 22:21:33 +0100 Subject: v7a: barebox-common: add clean target that affects all bareboxes Repeat what we did with barebox-common's oldconfig for clean stage as well: Running ptxdist clean barebox-common will now clean all bareboxes. Signed-off-by: Ahmad Fatoum Signed-off-by: Michael Olbrich --- rules/post/barebox-common.make | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rules/post/barebox-common.make b/rules/post/barebox-common.make index d78e0f1..601301b 100644 --- a/rules/post/barebox-common.make +++ b/rules/post/barebox-common.make @@ -10,4 +10,13 @@ endif barebox-common_oldconfig: \ $(addsuffix _oldconfig,$(filter-out barebox-common, \ $(filter barebox-%, $(PTX_PACKAGES_SELECTED)))) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +$(STATEDIR)/barebox-common.clean: \ + $(addprefix $(STATEDIR)/, $(addsuffix .clean, \ + $(filter barebox-%, \ $(PTX_PACKAGES_SELECTED)))) + # vim: syntax=make -- cgit v1.2.3