From: Tianyu Li Date: Fri, 4 Jun 2021 09:43:01 +0000 (+0800) Subject: build: fix build error after make wipe X-Git-Tag: v22.02-rc0~346 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F32565%2F1;p=vpp.git build: fix build error after make wipe ninja: error: '/home/vpp/src/vpp-api/vapi/fake.api.json', needed by 'CMakeFiles/vpp-api/vapi/fake.api.vapi.h', missing and no known rule to make it Recent fake.api.json has been moved from test/ to src/, update make wipe to reflect the movement. Type: fix Signed-off-by: Tianyu Li Change-Id: I1e8ef414a3f8a2fce11767e0778fe21e14d54e6f --- diff --git a/Makefile b/Makefile index 3a289204d87..bd3b0dd1a5e 100644 --- a/Makefile +++ b/Makefile @@ -361,7 +361,7 @@ wipedist: .PHONY: wipe wipe: wipedist test-wipe $(BR)/.deps.ok $(call make,$(PLATFORM)_debug,$(addsuffix -wipe,$(TARGETS))) - @find . -type f -name "*.api.json" ! -path "./test/*" -exec rm {} \; + @find . -type f -name "*.api.json" ! -path "./src/*" -exec rm {} \; .PHONY: rebuild rebuild: wipe build