summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-11-04 22:21:33 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-11-04 23:08:22 +0100
commit9337615166ee18f571c4a2c725214e86ef90941d (patch)
treeecf09813c04efbaa36aac3b8e065402ac592bcae
parent28efd98e9c14516499f46e7907cc5aeffe69d7aa (diff)
downloadDistroKit-9337615166ee18f571c4a2c725214e86ef90941d.tar.gz
DistroKit-9337615166ee18f571c4a2c725214e86ef90941d.tar.xz
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 <a.fatoum@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/post/barebox-common.make9
1 files changed, 9 insertions, 0 deletions
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