From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Michael Olbrich Date: Tue, 29 Oct 2019 12:28:49 +0100 Message-Id: <20191029112901.3380-3-m.olbrich@pengutronix.de> In-Reply-To: <20191029112901.3380-1-m.olbrich@pengutronix.de> References: <20191029112901.3380-1-m.olbrich@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 02/14] 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