summaryrefslogtreecommitdiff
path: root/doc/build-sdk-quick.txt
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2015-02-12 17:18:20 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-03-03 11:33:14 +0100
commitb2bb3a5daaac395c775166fe246e0e48fde81822 (patch)
tree1c2afa5659c3b04a79680c6fefb93daac8632359 /doc/build-sdk-quick.txt
parent948fd64befc3726e10dd074490664611607cc994 (diff)
downloaddpdk-b2bb3a5daaac395c775166fe246e0e48fde81822.zip
dpdk-b2bb3a5daaac395c775166fe246e0e48fde81822.tar.gz
dpdk-b2bb3a5daaac395c775166fe246e0e48fde81822.tar.xz
mk: stop on warning only in developer build
Add RTE_DEVEL_BUILD make-variable which can be used to do things differently when doing development vs building a release, autodetected from source root .git presence and overridable via commandline. It is used it to enable -Werror compiler flag and may be extended to other checks. Failing build on warnings is a useful developer tool but its bad for release tarballs which can and do get built with newer compilers than what was used/available during development. Compilers routinely add new warnings so code which built silently with cc X might no longer do so with X+1. This doesn't make the existing code any more buggier and failing the build in this case does not help to improve the quality of an already released version either. This change the default flags which can be tuned with EXTRA_CFLAGS. Signed-off-by: Panu Matilainen <pmatilai@redhat.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'doc/build-sdk-quick.txt')
-rw-r--r--doc/build-sdk-quick.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/build-sdk-quick.txt b/doc/build-sdk-quick.txt
index acd1bfe..967ff09 100644
--- a/doc/build-sdk-quick.txt
+++ b/doc/build-sdk-quick.txt
@@ -15,6 +15,7 @@ Build variables
EXTRA_LDFLAGS linker options
EXTRA_LDLIBS linker library options
RTE_KERNELDIR linux headers path
+ RTE_DEVEL_BUILD stricter options (default: y in git tree)
CROSS toolchain prefix
V verbose
D debug dependencies