mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
nightly build: Include scst_proc.c only if necessary
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4090 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -224,6 +224,8 @@ if grep -qw scst_sysfs scst/kernel/in-tree/Makefile.scst-${kver} \
|
||||
|| [ "${generating_upstream_patch}" = "true" ];
|
||||
then
|
||||
specialize_patch_options="${specialize_patch_options} -v config_scst_proc_undefined=1"
|
||||
else
|
||||
include_proc_impl="true"
|
||||
fi
|
||||
if [ "${debug_specialize}" = "true" ]; then
|
||||
specialize_patch_options="${specialize_patch_options} -v debug=1"
|
||||
@@ -295,7 +297,7 @@ scst_13_vdisk="scst/src/dev_handlers/scst_vdisk.c"
|
||||
scst_14_tg="scst/src/scst_tg.c"
|
||||
separate_patches="scst_03_public_headers scst_04_main scst_05_targ scst_06_lib scst_07_pres scst_08_sysfs scst_09_debug scst_10_sgv scst_user scst_13_vdisk scst_14_tg"
|
||||
|
||||
if [ "${generating_upstream_patch}" = "false" ]; then
|
||||
if [ "$include_proc_impl" = "true" ]; then
|
||||
separate_patches+=" scst_proc"
|
||||
fi
|
||||
source_files_in_separate_patch=""
|
||||
@@ -335,7 +337,7 @@ add_file "${tmp_Kconfig}" "drivers/scst/Kconfig"
|
||||
|
||||
tmp_Makefile="${tmpdir}/Makefile.scst-${kver}"
|
||||
cat "scst/kernel/in-tree/Makefile.scst-${kver}" | \
|
||||
if [ "${generating_upstream_patch}" = "true" ]; then
|
||||
if [ "$include_proc_impl" != "true" ]; then
|
||||
grep -v 'scst_proc'
|
||||
else
|
||||
cat
|
||||
|
||||
Reference in New Issue
Block a user