aboutsummaryrefslogtreecommitdiffstats
path: root/build-root/scripts
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-01-09 20:24:50 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-01-20 15:02:12 +0000
commit2ce7f9834ab55728520bff0dd15f8d82c10b95a0 (patch)
tree7abcda85a70e95ff1ad2714d9ea62f7f8c549002 /build-root/scripts
parent18b2816551a8340a05dc69665d03707fdfcece23 (diff)
Add dpdk development packaging
Change-Id: I6aa2a6709241d99ce734c29e47487eb456907351 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-root/scripts')
-rwxr-xr-xbuild-root/scripts/find-dpdk-contents29
1 files changed, 0 insertions, 29 deletions
diff --git a/build-root/scripts/find-dpdk-contents b/build-root/scripts/find-dpdk-contents
deleted file mode 100755
index c7065139..00000000
--- a/build-root/scripts/find-dpdk-contents
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-# includes
-rm -rf dpdk-includes
-mkdir dpdk-includes
-(cd $1/dpdk/include; tar cfh - . | (cd ../../../dpdk-includes; tar xf -))
-
-# If CDPATH is set, the "Change Directory" builtin (cd) will output the
-# destination directory when a relative path is passed as an argument.
-# In this case, this has the negative side effect of polluting the "paths"
-# variable with the destination directory, breaking the package generation.
-#
-# Patient: Doctor! Doctor! It hurts when I do this...
-# Doctor: Don't do that!
-#
-unset CDPATH
-paths=`cd dpdk-includes; find . -type f -print`
-rm -f $2
-
-for path in $paths
-do
- dir=`dirname $path`
- if [ $dir = "." ] ; then
- echo ../dpdk-includes/$path /usr/include/vpp-dpdk >> $2
- else
- echo ../dpdk-includes/$path /usr/include/vpp-dpdk/$dir >> $2
- fi
-done
-