aboutsummaryrefslogtreecommitdiffstats
path: root/build-data
diff options
context:
space:
mode:
Diffstat (limited to 'build-data')
-rw-r--r--build-data/packages/vlib-api-no-dpdk.mk6
-rw-r--r--build-data/packages/vlib-no-dpdk.mk5
-rw-r--r--build-data/packages/vnet-no-dpdk.mk26
-rw-r--r--build-data/packages/vpp-api-test-no-dpdk.mk30
-rw-r--r--build-data/packages/vpp-no-dpdk.mk33
-rw-r--r--build-data/platforms/qppc.mk23
6 files changed, 123 insertions, 0 deletions
diff --git a/build-data/packages/vlib-api-no-dpdk.mk b/build-data/packages/vlib-api-no-dpdk.mk
new file mode 100644
index 00000000000..031cc1980c5
--- /dev/null
+++ b/build-data/packages/vlib-api-no-dpdk.mk
@@ -0,0 +1,6 @@
+vlib-api-no-dpdk_source = vlib-api
+
+vlib-api-no-dpdk_configure_depend = vppinfra-install svm-install vlib-no-dpdk-install
+
+vlib-api-no-dpdk_CPPFLAGS = $(call installed_includes_fn, vppinfra svm vlib-no-dpdk)
+vlib-api-no-dpdk_LDFLAGS = $(call installed_libs_fn, vppinfra svm vlib-no-dpdk)
diff --git a/build-data/packages/vlib-no-dpdk.mk b/build-data/packages/vlib-no-dpdk.mk
new file mode 100644
index 00000000000..f3869c5d8e4
--- /dev/null
+++ b/build-data/packages/vlib-no-dpdk.mk
@@ -0,0 +1,5 @@
+vlib-no-dpdk_source = vlib
+vlib-no-dpdk_configure_depend = vppinfra-install
+
+vlib-no-dpdk_CPPFLAGS = $(call installed_includes_fn, vppinfra)
+vlib-no-dpdk_LDFLAGS = $(call installed_libs_fn, vppinfra)
diff --git a/build-data/packages/vnet-no-dpdk.mk b/build-data/packages/vnet-no-dpdk.mk
new file mode 100644
index 00000000000..ccbd490b334
--- /dev/null
+++ b/build-data/packages/vnet-no-dpdk.mk
@@ -0,0 +1,26 @@
+vnet-no-dpdk_source = vnet
+
+vnet-no-dpdk_configure_depend = \
+ vppinfra-install \
+ svm-install \
+ openssl-install \
+ vlib-api-no-dpdk-install \
+ vlib-no-dpdk-install
+
+vnet-no-dpdk_CPPFLAGS = $(call installed_includes_fn, \
+ vppinfra \
+ openssl \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk)
+
+vnet-no-dpdk_LDFLAGS = $(call installed_libs_fn, \
+ vppinfra \
+ openssl \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk)
+
+# Platform dependent configure flags
+vnet-no-dpdk_configure_args += $(vnet-no-dpdk_configure_args_$(PLATFORM))
+
diff --git a/build-data/packages/vpp-api-test-no-dpdk.mk b/build-data/packages/vpp-api-test-no-dpdk.mk
new file mode 100644
index 00000000000..b511f2caf9b
--- /dev/null
+++ b/build-data/packages/vpp-api-test-no-dpdk.mk
@@ -0,0 +1,30 @@
+vpp-api-test-no-dpdk_source = vpp-api-test
+
+vpp-api-test-no-dpdk_configure_depend = \
+ vppinfra-install \
+ svm-install \
+ vlib-api-no-dpdk-install \
+ vlib-no-dpdk-install \
+ vnet-no-dpdk-install \
+ vpp-no-dpdk-install
+
+#
+vpp-api-test-no-dpdk_configure_args = --with-q-platform=$(PLATFORM) \
+ --with-q-plugin-prefix=$(MU_BUILD_ROOT_DIR)/packages-$(PLATFORM)
+
+vpp-api-test-no-dpdk_CPPFLAGS = $(call installed_includes_fn, \
+ vppinfra \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk \
+ vnet-no-dpdk \
+ vpp-no-dpdk)
+
+vpp-api-test-no-dpdk_LDFLAGS = $(call installed_libs_fn, \
+ vppinfra \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk \
+ vnet-no-dpdk \
+ vpp-no-dpdk)
+
diff --git a/build-data/packages/vpp-no-dpdk.mk b/build-data/packages/vpp-no-dpdk.mk
new file mode 100644
index 00000000000..f509bdf399f
--- /dev/null
+++ b/build-data/packages/vpp-no-dpdk.mk
@@ -0,0 +1,33 @@
+vpp-no-dpdk_source = vpp
+
+vpp-no-dpdk_configure_depend = \
+ vppinfra-install \
+ openssl-install \
+ svm-install \
+ vlib-api-no-dpdk-install \
+ vlib-no-dpdk-install \
+ vnet-no-dpdk-install \
+
+#
+vpp-no-dpdk_configure_args = --with-q-platform=$(PLATFORM) \
+ --with-q-plugin-prefix=$(MU_BUILD_ROOT_DIR)/packages-$(PLATFORM)
+
+# Platform dependent configure flags
+vpp-no-dpdk_configure_args += $(vpp-no-dpdk_configure_args_$(PLATFORM))
+
+
+vpp-no-dpdk_CPPFLAGS = $(call installed_includes_fn, \
+ vppinfra \
+ openssl \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk \
+ vnet-no-dpdk)
+
+vpp-no-dpdk_LDFLAGS = $(call installed_libs_fn, \
+ vppinfra \
+ openssl \
+ svm \
+ vlib-no-dpdk \
+ vlib-api-no-dpdk \
+ vnet-no-dpdk)
diff --git a/build-data/platforms/qppc.mk b/build-data/platforms/qppc.mk
new file mode 100644
index 00000000000..fe0f8683f23
--- /dev/null
+++ b/build-data/platforms/qppc.mk
@@ -0,0 +1,23 @@
+# Qemu "p-series" powerpc64
+
+qppc_arch = powerpc64
+
+qppc_root_packages = vppinfra openssl vlib-no-dpdk vlib-api-no-dpdk vnet-no-dpdk svm \
+ vpp-no-dpdk vpp-api-test-no-dpdk
+
+vpp_configure_args_qppc =
+vnet-no-dpdk_configure_args_qppc = # nothing
+vlib-no-dpdk_configure_args_qppc = --with-pre-data=128
+
+qppc_march=powerpc64
+
+# native tool chain additions for this platform
+qppc_native_tools = vppapigen vppversion
+
+qppc_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
+qppc_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
+
+qppc_TAG_CFLAGS = -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
+qppc_TAG_LDFLAGS = -g -O2 -DCLIB_LOG2_CACHE_LINE_BYTES=6 -maltivec
+
+