stand-alone defconfig files instead;
-p, --preserve preserve all the temporary files - do not clean up;
--bisectability test bisectability;
- --targets list of make targets to build (defaults to all)
--sparse check with sparse while building;
--smatch check with smatch while building;
--cppcheck check with cppcheck while building;
an mbox file with quick fixes which will be applied
first and the user patch-set will be tested on top of
the fixes;
+ --targets list of make targets to build (defaults to all)
-K --keywords=FILE match keywords from FILE against the patch;
-M, --kmake-opts additional options to append to the final kernel
compilation 'make' command
}
set_cleanup_handler cleanup_handler
-TEMP=`getopt -n $PROG -o j:,c:,i:,w:,C:,p,Q:,K:,M:,v,h --long jobs:,commit-id:,input:,workdir:,logdir:,confdir:,preserve,bisectability,targets:,sparse,smatch,cppcheck,coccinelle,quick-fixes:,keywords:,kmake-opts:,verbose,help -- "$@"` ||
+TEMP=`getopt -n $PROG -o j:,c:,i:,w:,C:,p,Q:,K:,M:,v,h --long jobs:,commit-id:,input:,workdir:,logdir:,confdir:,preserve,bisectability,sparse,smatch,cppcheck,coccinelle,quick-fixes:,targets:,keywords:,kmake-opts:,verbose,help -- "$@"` ||
fail_usage ""
eval set -- "$TEMP"
mbox=
bisectability=
sparse=
-targets="all"
smatch=
cppcheck=
coccinelle=
quick_fixes=
+targets="all"
keywords=
kmake_opts=
verbose=
-p|--preserve)
preserve="--preserve"
;;
- -Q|--quick-fixes)
- quick_fixes="$(opt_check_read "$1" "$2")"
- shift
- ;;
--bisectability)
bisectability="--bisectability"
;;
- --targets)
- targets="$2"
- shift
- ;;
--sparse)
sparse="--sparse"
program_required "sparse" "See section 'sparse' in doc/README"
coccinelle="yes"
program_required "spatch" "Usually Linux distribution provide a 'spatch' or 'coccinelle' package"
;;
+ -Q|--quick-fixes)
+ quick_fixes="$(opt_check_read "$1" "$2")"
+ shift
+ ;;
+ --targets)
+ targets="$2"
+ shift
+ ;;
-K|--keywords)
keywords="$(opt_check_read "$1" "$2")"
shift