aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts/find-api-core-contents
diff options
context:
space:
mode:
Diffstat (limited to 'build-root/scripts/find-api-core-contents')
-rwxr-xr-xbuild-root/scripts/find-api-core-contents9
1 files changed, 9 insertions, 0 deletions
diff --git a/build-root/scripts/find-api-core-contents b/build-root/scripts/find-api-core-contents
new file mode 100755
index 00000000..c1af69db
--- /dev/null
+++ b/build-root/scripts/find-api-core-contents
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+for i in $(find ${1}/vpp/share/vpp/api/core -name *.api.json -type f -print); do
+ echo ../${i} /usr/share/vpp/api/ >> ${2}
+done
+for i in $(find ${1}/vlib-api -name *.api.json -type f -print); do
+ echo ../${i} /usr/share/vpp/api/ >> ${2}
+done
+