summaryrefslogtreecommitdiffstats
path: root/rules/barebox.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-01-18 10:55:10 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-01-19 13:25:37 +0100
commit30dcb754170135f2c17571cf33aa7ed6d4d9791b (patch)
treeb33b0f5c8b7f838869d93d772fed4b52d51844bf /rules/barebox.make
parent747b48e123d6e8ce26b624258d84aefbd84c3473 (diff)
downloadptxdist-30dcb754170135f2c17571cf33aa7ed6d4d9791b.tar.gz
ptxdist-30dcb754170135f2c17571cf33aa7ed6d4d9791b.tar.xz
[rules] fix custom clean stages
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/barebox.make')
-rw-r--r--rules/barebox.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/barebox.make b/rules/barebox.make
index 90ba1cfe4..e977451e7 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -98,8 +98,9 @@ $(STATEDIR)/barebox.targetinstall:
# Clean
# ----------------------------------------------------------------------------
-barebox_clean:
- @$(call clean_pkg)
+$(STATEDIR)/barbox.clean:
+ @$(call targetinfo)
+ @$(call clean_pkg, BAREBOX)
rm -rf $(IMAGEDIR)/barebox-image
# ----------------------------------------------------------------------------