summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianyu Li <tianyu.li@arm.com>2021-06-04 17:43:01 +0800
committerDave Wallace <dwallacelf@gmail.com>2021-06-07 14:56:58 +0000
commitce4716f4e296aee66bd76e1edd7820e8a5dae6eb (patch)
tree4461428e75fcd4d18f01c8cfb6236b47d0578b21
parentf1bd293ff209740e36aedf835ede3882eeac5a29 (diff)
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 <tianyu.li@arm.com> Change-Id: I1e8ef414a3f8a2fce11767e0778fe21e14d54e6f (cherry picked from commit 0b652134752890fd987152005ed378a9520d2c68)
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5cde75bac1f..3c6f3463ad3 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