make wipe: Clean up *.api.json files. 05/16405/3
authorPaul Vinciguerra <pvinci@vinciconsulting.com>
Fri, 7 Dec 2018 11:57:49 +0000 (03:57 -0800)
committerDamjan Marion <dmarion@me.com>
Tue, 18 Dec 2018 12:44:26 +0000 (12:44 +0000)
Change-Id: I0cb1a1b5bf9003d7b5231452e85d535c9cb2b6ec
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Makefile

index 068f73d..6bc871c 100644 (file)
--- 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