From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Michael Olbrich Date: Mon, 4 Nov 2019 22:21:33 +0100 Message-Id: <20191104212147.22470-3-m.olbrich@pengutronix.de> In-Reply-To: <20191104212147.22470-1-m.olbrich@pengutronix.de> References: <20191104212147.22470-1-m.olbrich@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH v2 02/16] v7a: barebox-common: add clean target that affects all bareboxes List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Michael Olbrich , Ahmad Fatoum From: Ahmad Fatoum 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 d78e0f1b1a83..601301b1324d 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 -- 2.20.1 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de