mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Patch from Bart Van Assche <bart.vanassche@gmail.com>:
The patch below implements the following changes: - Make sure the output of the make command does not appear in the generated kernel patch. - Changed interpreter of scripts/specialize-patch from /usr/bin/gawk to /usr/bin/awk in order to make sure this awk script also runs on systems where awk is installed but not gawk. - Added an extra evaluation rule such that expressions like (0) are rewritten as 0. - Fixed a spelling error. - Expressions that can only be partially evaluated are now partially evaluated. E.g. #if defined(EXTRACHECKS) && (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)) becomes #if defined(EXTRACHECKS) && 0 in the output. - Code between #if 0 / #endif or #if 1 / #endif is included in the generated kernel patch, including the surrounding preprocessor directives. - Preprocessor statements with spaces behind # are now recognized (e.g. "# if"). - Expression evaluator now supports ! (logical not) and () (braces). - #elif is now evaluated correctly. - Nested #if / #elif / #else / #endif are now interpreted correctly. Signed-off-by: Bart Van Assche <bart.vanassche@gmail.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@385 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -121,7 +121,7 @@ cat "${kpatch[@]}"
|
||||
# Directory include/scst/
|
||||
|
||||
# Make sure the file iscsi-scst/iscsi_scst_itf_ver.h is up to date.
|
||||
make -C iscsi-scst include/iscsi_scst_itf_ver.h
|
||||
make -s -C iscsi-scst include/iscsi_scst_itf_ver.h
|
||||
|
||||
for f in scst/include/*h
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user