int found;
^
Aiaiai does not process them correctly which leads to ugly diffs. Fix this.
- * We hard-code 'KCFLAGS='-Wno-missing-field-initializers
- -Wno-sign-compare' and W=1 in 'aiaiai-make-kernel'. This is not that
- nice. It is better to make these things to be the default value of
- the -M parameter. The users could disable them or re-define easily.
# Additional kernel build options which are appended to the end of the
# "make" command. For example, W=2 KALLSYMS_EXTRA_PASS=1.
- kmake_opts =
+ kmake_opts = KCFLAGS='-Wno-missing-field-initializers -Wno-sign-compare' W=1
# List of targets (space seperated) for which to run a kernel make.
# Leaving this empty will default to "all" as the only target. However,
reply_to_all = 1
accept_notify = 1
unwanted_keywords =
- kmake_opts = W=2 KALLSYMS_EXTRA_PASS=1
+ kmake_opts = W=12 KALLSYMS_EXTRA_PASS=1 KCFLAGS='-Wno-missing-initializers -Wno-sign-compare'
# More "prj_xyz" sections may be added
--check-only=FILE check only files listed in FILE;
-M, --kmake-opts additional options to append to the final kernel
compilation 'make' command
- (e.g., W=2 KALLSYMS_EXTRA_PASS=1)
+ (e.g., W=12 KALLSYMS_EXTRA_PASS=1)
+ defaults to "KCFLAGS='-Wno-missing-field-initializers
+ -Wno-sign-compare' W=1"
-v, --verbose be verbose;
-h, --help show this text and exit.
EOF
"make $keep_going -j $jobs -C $kernel_tree ${arch:+ARCH="$arch"} \
${cross:+CROSS_COMPILE="$cross"} ${objdir:+O="$objdir"} \
CHECK=\"aiaiai-checker $sparse $smatch $cppcheck $coccinelle $check_only --\" \
- KCFLAGS='-Wno-missing-field-initializers -Wno-sign-compare' \
- C=$check ${check:+CF="-D__CHECK_ENDIAN__"} W=1 SHELL=\"aiaiai-locker $split -l $lockfile\" \
+ C=$check ${check:+CF="-D__CHECK_ENDIAN__"} SHELL=\"aiaiai-locker $split -l $lockfile\" \
$kmake_opts $target"
}
cocci_path=
check_only=
check=0
-kmake_opts=
+kmake_opts="KCFLAGS='-Wno-missing-field-initializers -Wno-sign-compare' W=1"
verbose=
while true; do