aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-11 11:11:00 +0100
committerDave Barach <openvpp@barachs.net>2017-01-11 12:58:03 +0000
commit724f64ccf691e170973bdcdc6c09bfdc7e2ab5e4 (patch)
treed648e5f5b49699d93d7055716ea62b63eb1bcb29 /build-root/scripts
parent1c5ee872b14c5e9412b8c0e4f169b85d11238d14 (diff)
Makefile.am cleanup
- remove unused stuff - add --quiet flag to libtool - avoid building some tests programs when tests are not enabled Change-Id: Ie34aeec1a598ad811256a00354f66cfddae9d0b9 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-xbuild-root/scripts/make-plugin-toolkit40
1 files changed, 0 insertions, 40 deletions
diff --git a/build-root/scripts/make-plugin-toolkit b/build-root/scripts/make-plugin-toolkit
deleted file mode 100755
index e1d6fcfb01c..00000000000
--- a/build-root/scripts/make-plugin-toolkit
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-
-set -eux
-
-build_tarball() {
- for dir in vppinfra dpdk svm vlib-api vlib vnet vpp vpp-api-test
- do
- tar -C install-$1/$dir/include -cf - . | tar -C $tmp_dir/include -xf -
- done
- tar -C ../sample-plugin -cf - . \
- | tar -C $tmp_dir/src/sample-plugin -xf -
- cp tools/bin/vppapigen $tmp_dir/tools/bin
- echo Created by `id -u -n` on `hostname` at `date` > \
- $tmp_dir/toolkit-version-stamp
- cp scripts/vpp-plugin-toolkit-readme $tmp_dir/README
- tar -C $tmp_dir -zcf $PWD/vpp-plugin-toolkit-$1.tar.gz .
-}
-
-if [ `basename $PWD` != "build-root" ] ; then
- echo Please run this script from build-root
- exit 1
-fi
-
-echo Pull additional tookit repos
-make PLATFORM=vpp sample-plugin-find-source
-
-make PLATFORM=vpp TAG=vpp wipe-all
-echo Build vpp forwarder production package
-make PLATFORM=vpp TAG=vpp strip_sumbols=yes install-packages
-
-tmp_dir="`mktemp -d /tmp/plugin-XXXXXX`"
-trap "rm -rf $tmp_dir" err
-
-echo Create vpp forwarder production plugin toolkit tarball
-mkdir -p $tmp_dir/tools/bin $tmp_dir/include $tmp_dir/lib64 \
- $tmp_dir/src/sample-plugin
-build_tarball vpp-native
-rm -rf $tmp_dir
-
-exit 0