aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-07-13 13:42:33 +0200
committerDamjan Marion <damarion@cisco.com>2016-07-13 13:42:39 +0200
commitad476c7861d0428766f9bee01f69cd00025a47c0 (patch)
treead5c392cdfdc3b0c77b06839605f2f7feb4b2ab7 /build-data
parent92217f3c1d6ca7a65ba567dca5273a0aad2a38d9 (diff)
Add plugins debian packaging
New debian package "vpp-plugins" is created with enabled plugins. Change-Id: I8920178e8874f12e075858001ec44257dfaf497d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-data')
-rw-r--r--build-data/platforms.mk5
-rw-r--r--build-data/platforms/vpp.mk2
2 files changed, 6 insertions, 1 deletions
diff --git a/build-data/platforms.mk b/build-data/platforms.mk
index 625006b474f..65809ea6eb3 100644
--- a/build-data/platforms.mk
+++ b/build-data/platforms.mk
@@ -31,6 +31,7 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
: need symbolic links in the lib pkg ; \
find $(INSTALL_PREFIX)$(ARCH)/*/lib* \( -type f -o -type l \) \
-print | egrep -e '*\.so\.*\.*\.*' \
+ | grep -v plugins\/ \
| sed -e 's:.*:../& /usr/lib/x86_64-linux-gnu:' \
> deb/debian/vpp-lib.install ; \
\
@@ -38,6 +39,10 @@ install-deb: $(patsubst %,%-find-source,$(ROOT_PACKAGES))
./scripts/find-dev-contents $(INSTALL_PREFIX)$(ARCH) \
deb/debian/vpp-dev.install ; \
\
+ : plugins package ; \
+ ./scripts/find-plugins-contents $(INSTALL_PREFIX)$(ARCH) \
+ deb/debian/vpp-plugins.install ; \
+ \
: dpdk headers ; \
./scripts/find-dpdk-contents $(INSTALL_PREFIX)$(ARCH) \
deb/debian/vpp-dpdk-dev.install ; \
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index fb1867c750f..977c4c3266f 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -30,7 +30,7 @@ vpp_uses_dpdk = yes
# vpp_enable_tests = yes
vpp_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
- vpp-api gmod
+ vpp-api gmod plugins
vpp_configure_args_vpp = --with-dpdk
vnet_configure_args_vpp = --with-dpdk