Skip to content

Commit cb9cada

Browse files
committed
Initial commit of vpp code.
Change-Id: Ib246f1fbfce93274020ee93ce461e3d8bd8b9f17 Signed-off-by: Ed Warnicke <[email protected]>
1 parent fb0815d commit cb9cada

File tree

956 files changed

+715491
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

956 files changed

+715491
-0
lines changed

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*~
2+
autom4te.cache/
3+
/build-root/.ccache
4+
/build-root/build-*/
5+
/build-root/install-*/
6+
/build-root/tools
7+
/build-root/packages-vpp/
8+
/build-root/path_setup
9+
/build-root/build-config.mk
10+
/build-root/*.deb
11+
/build-root/*.changes
12+
/build-config.mk
13+
/dpdk/*.tar.gz
14+
/path_setup
15+
/tools/

.gitreview

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[gerrit]
2+
host=gerrit.projectrotterdam.info
3+
port=29418
4+
project=vpp

build-data/packages/dpdk.mk

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
DPDK_MARCH = $(strip $($(PLATFORM)_dpdk_arch))
3+
ifeq ($(DPDK_MARCH),)
4+
DPDK_MARCH="native"
5+
endif
6+
7+
ifneq (,$(findstring debug,$(TAG)))
8+
DPDK_DEBUG=y
9+
else
10+
DPDK_DEBUG=n
11+
endif
12+
13+
DPDK_MAKE_ARGS = -C $(call find_source_fn,$(PACKAGE_SOURCE)) \
14+
DPDK_BUILD_DIR=$(PACKAGE_BUILD_DIR) \
15+
DPDK_INSTALL_DIR=$(PACKAGE_INSTALL_DIR) \
16+
DPDK_MARCH=$(DPDK_MARCH) \
17+
DPDK_DEBUG=$(DPDK_DEBUG)
18+
19+
20+
dpdk_configure = echo
21+
22+
dpdk_make_args = $(DPDK_MAKE_ARGS) config
23+
24+
dpdk_install = make $(DPDK_MAKE_ARGS) build
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
sample-plugin_configure_depend = \
2+
vppinfra-install \
3+
dpdk-install \
4+
svm-install \
5+
vlib-api-install \
6+
vlib-install \
7+
vnet-install \
8+
vpp-install \
9+
vpp-api-test-install
10+
11+
#
12+
sample-plugin_configure_args = --with-q-platform=$(PLATFORM) --with-dpdk
13+
14+
sample-plugin_CPPFLAGS = $(call installed_includes_fn, \
15+
vppinfra \
16+
dpdk \
17+
openssl \
18+
svm \
19+
vlib \
20+
vlib-api \
21+
vnet \
22+
vpp \
23+
vpp-api-test)
24+
25+
sample-plugin_LDFLAGS = $(call installed_libs_fn, \
26+
vppinfra \
27+
dpdk \
28+
openssl \
29+
svm \
30+
vlib \
31+
vlib-api \
32+
vnet \
33+
vpp \
34+
vpp-api-test)
35+
36+
sample-plugin_post_install = \
37+
mkdir -p $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins ; \
38+
cp $(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/*.so \
39+
$(PACKAGE_INSTALL_DIR)/$(arch_lib_dir)/vlib_plugins
40+
41+
sample-plugin_image_include = echo $(arch_lib_dir)/vlib_plugins

build-data/packages/svm.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
svm_top_srcdir = $(call find_source_fn,svm)
2+
svm_configure_depend = vppinfra-install
3+
4+
svm_CPPFLAGS = $(call installed_includes_fn, vppinfra)
5+
svm_LDFLAGS = $(call installed_libs_fn, vppinfra)

build-data/packages/vlib-api.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
vlib-api_configure_depend = vppinfra-install svm-install vlib-install
2+
3+
vlib-api_CPPFLAGS = $(call installed_includes_fn, vppinfra svm vlib)
4+
vlib-api_LDFLAGS = $(call installed_libs_fn, vppinfra svm vlib)
5+
6+
vlib-api_top_srcdir = $(call find_source_fn,vlib-api)

build-data/packages/vlib.mk

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
vlib_configure_depend = vppinfra-install dpdk-install
2+
3+
vlib_configure_args += --with-dpdk
4+
5+
vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra dpdk)
6+
vlib_LDFLAGS = $(call installed_libs_fn, vppinfra dpdk)

build-data/packages/vnet.mk

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
vnet_configure_depend = \
2+
vppinfra-install \
3+
dpdk-install \
4+
svm-install \
5+
vlib-api-install \
6+
vlib-install
7+
8+
vnet_CPPFLAGS = $(call installed_includes_fn, \
9+
vppinfra \
10+
dpdk \
11+
openssl \
12+
svm \
13+
vlib \
14+
vlib-api)
15+
16+
vnet_LDFLAGS = $(call installed_libs_fn, \
17+
vppinfra \
18+
dpdk \
19+
openssl \
20+
svm \
21+
vlib \
22+
vlib-api)
23+
24+
# Platform dependent configure flags
25+
vnet_configure_args += $(vnet_configure_args_$(PLATFORM))
26+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
vpp-api-test_configure_depend = \
2+
vppinfra-install \
3+
dpdk-install \
4+
svm-install \
5+
vlib-api-install \
6+
vlib-install \
7+
vnet-install \
8+
vpp-install
9+
10+
#
11+
vpp-api-test_configure_args = --with-q-platform=$(PLATFORM) --with-dpdk \
12+
--with-q-plugin-prefix=$(MU_BUILD_ROOT_DIR)/packages-$(PLATFORM)
13+
14+
vpp-api-test_CPPFLAGS = $(call installed_includes_fn, \
15+
vppinfra \
16+
dpdk \
17+
svm \
18+
vlib \
19+
vlib-api \
20+
vnet \
21+
vpp)
22+
23+
vpp-api-test_LDFLAGS = $(call installed_libs_fn, \
24+
vppinfra \
25+
dpdk \
26+
svm \
27+
vlib \
28+
vlib-api \
29+
vnet \
30+
vpp)
31+

build-data/packages/vpp-japi.mk

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
vpp-japi_configure_depend = \
2+
vppinfra-install \
3+
svm-install \
4+
vlib-api-install \
5+
vlib-install \
6+
vnet-install \
7+
vpp-install
8+
9+
vpp-japi_CPPFLAGS = $(call installed_includes_fn, \
10+
vppinfra \
11+
svm \
12+
vlib \
13+
vlib-api \
14+
vnet \
15+
vpp)
16+
17+
vpp-japi_LDFLAGS = $(call installed_libs_fn, \
18+
vppinfra \
19+
svm \
20+
vlib \
21+
vlib-api)
22+
23+
vpp-japi_CPPFLAGS += -I/usr/lib/jvm/java-7-openjdk-amd64/include

0 commit comments

Comments
 (0)