summaryrefslogtreecommitdiffstats
path: root/build/config
diff options
context:
space:
mode:
authorThomas F Herbert <therbert@redhat.com>2016-01-23 19:06:55 -0500
committerThomas F Herbert <therbert@redhat.com>2016-01-31 00:16:08 -0500
commit4c54b37aca48867c694539692a3ada76be39f4d6 (patch)
treea99b48f4420c53058fad82260a752b3f4dcb9aa3 /build/config
parent4aa1ce14bb812da904f65e8c8f6e6a92053a41e3 (diff)
Introduce ability to accept command arguments to build with DPDK or Linux kernel.
Specify patches to apply, build kernel module RPM and build with a special version of the kernel. Also instack_ovs.sh creates a VM for building and initial testing of RPMs and copies scripts to VMs build_ovs_rpm.sh builds the RPM according to command line options. test_ovs_rpm.sh tests the RPM by installing the RPM and running some ovs commands to create a bridge and dump flows. Also add two scripts generally to be executed in VM to do actual building and Testing. This 2nd series adds the following: Use fedora spec file for kmod builds. Added Explanations to configuration options. Fixes in response to review comments. Rename script for clarity and change references: buildtestovs.sh -> BuildTestOVS.sh Fix nocheck option, print default options, fix kmod option, fix test of kmod. For command line options execute build/buildtestovs.sh -h Change-Id: I415ca39afab27482b1cb473d392f48b36c8e0745 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
Diffstat (limited to 'build/config')
-rw-r--r--build/config25
1 files changed, 23 insertions, 2 deletions
diff --git a/build/config b/build/config
index 337e07d..a197871 100644
--- a/build/config
+++ b/build/config
@@ -1,5 +1,26 @@
# config file to be populated with configuration parameters for build.
-# OVS TAG
+# OVS configuration.
+#
+# OVS TAG or revision to build. The default is master which causes an RPM to be
+# built from the top of current master. The tag uses the current ovs naming and
+# release convention. This option can be overriden in the command line.
+#
export OVSTAG=master
-#export NOCHECK=true
+#
+# when NOCHECK is yes, the ovs rpm is build with the --without check option which
+# Disables running "make check" as the RPM is built.
+#
+export NOCHECK=yes
+#
+# URL to external URL for patches to be applied for Open vSwitch.
+#
+export PATCH=none
+#
+# DPDK configuration.
+#
+export DPDK_PATCH=none
+#
+# When KMOD is set, the Linux kernel module is built and tested.
+#
+export KMOD=yes