summaryrefslogtreecommitdiffstats
path: root/build-data/packages
diff options
context:
space:
mode:
Diffstat (limited to 'build-data/packages')
-rw-r--r--build-data/packages/vpp.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/build-data/packages/vpp.mk b/build-data/packages/vpp.mk
index 2a1b9a77de9..9ce557a9946 100644
--- a/build-data/packages/vpp.mk
+++ b/build-data/packages/vpp.mk
@@ -44,3 +44,10 @@ vpp_configure = \
#vpp_make_args = --no-print-directory
vpp_build = $(CMAKE) --build $(PACKAGE_BUILD_DIR)
vpp_install = $(CMAKE) --build $(PACKAGE_BUILD_DIR) -- install | grep -v 'Set runtime path'
+
+vpp-package-deb: vpp-install
+ @$(CMAKE) --build $(PACKAGE_BUILD_DIR)/vpp -- package-deb
+ @find $(PACKAGE_BUILD_DIR) \
+ -maxdepth 1 \
+ \( -name '*.changes' -o -name '*.deb' -o -name '*.buildinfo' \) \
+ -exec mv {} $(CURDIR) \;