summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 068f73d3145..6bc871c39a8 100644
--- a/Makefile
+++ b/Makefile
@@ -360,6 +360,7 @@ wipedist:
wipe: wipedist test-wipe $(BR)/.deps.ok
$(call make,$(PLATFORM)_debug,$(addsuffix -wipe,$(TARGETS)))
+ @find . -type f -name "*.api.json" ! -path "./test/*" -exec rm {} \;
rebuild: wipe build