projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: lttng-modules: remove -Werror
[lttng-ci.git]
/
scripts
/
lttng-modules
/
param-build.sh
diff --git
a/scripts/lttng-modules/param-build.sh
b/scripts/lttng-modules/param-build.sh
index dbfa5eea68eb98124ecb910f7ae265f6ca2f725e..66a443664efa8b2fffd6eb4c43e2c38bc700c5ff 100644
(file)
--- a/
scripts/lttng-modules/param-build.sh
+++ b/
scripts/lttng-modules/param-build.sh
@@
-18,7
+18,7
@@
set -exu
# Parameters
set -exu
# Parameters
-arch=${arch:-}
+arch=${arch:-
amd64
}
cross_arch=${cross_arch:-}
ktag=${ktag:-}
kgitrepo=${kgitrepo:-}
cross_arch=${cross_arch:-}
ktag=${ktag:-}
kgitrepo=${kgitrepo:-}
@@
-104,7
+104,7
@@
select_compiler() {
set +e
set +e
- for cc in gcc-5 gcc-4.8; do
+ for cc in gcc-
8 gcc-
5 gcc-4.8; do
if "${CROSS_COMPILE:-}${cc}" -I include/ -D__LINUX_COMPILER_H -D__LINUX_COMPILER_TYPES_H -E include/linux/compiler-gcc.h; then
selected_cc="$cc"
break
if "${CROSS_COMPILE:-}${cc}" -I include/ -D__LINUX_COMPILER_H -D__LINUX_COMPILER_TYPES_H -E include/linux/compiler-gcc.h; then
selected_cc="$cc"
break
@@
-431,6
+431,10
@@
build_modules() {
kversion=$(make -C "$LINUX_HDROBJ_DIR" -s kernelversion)
kversion=$(make -C "$LINUX_HDROBJ_DIR" -s kernelversion)
+ # Try to catch some compatibility problems by turning some
+ # warnings into errors.
+ #export KCFLAGS="$KCFLAGS -Wall -Werror"
+
# Enter lttng-modules source dir
cd "${MODULES_GIT_DIR}"
# Enter lttng-modules source dir
cd "${MODULES_GIT_DIR}"
This page took
0.026826 seconds
and
4
git commands to generate.