Fix the case of the kernel for otimization

This commit is contained in:
Pierre Labastie 2020-06-11 20:43:33 +00:00
parent b217a303e4
commit b33c6ee52d

View file

@ -94,7 +94,7 @@ chapter_targets() { #
# If using optimizations, write the instructions
case "${OPTIMIZE}$1${nb_chaps}${this_script}${REALSBU}" in
0* | *binutils-pass1y | 15* | 167* | 177*) ;;
*kernel) wrt_makeflags "$name" ;; # No CFLAGS for kernel
*kernel*) wrt_makeflags "$name" ;; # No CFLAGS for kernel
*) wrt_optimize "$name" && wrt_makeflags "$name" ;;
esac
fi