From 9de7980a91a4dd4f8797de965be39f3f48bf2cc3 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 23 Jan 2012 09:42:40 +0000 Subject: [PATCH] nightly build: Revert r4088 - scst_proc.c is needed in order to build with against an older kernel version git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4089 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-kernel-patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/generate-kernel-patch b/scripts/generate-kernel-patch index 76cafec51..5c25b1b44 100755 --- a/scripts/generate-kernel-patch +++ b/scripts/generate-kernel-patch @@ -295,9 +295,9 @@ 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 -# separate_patches+=" scst_proc" -#fi +if [ "${generating_upstream_patch}" = "false" ]; then + separate_patches+=" scst_proc" +fi source_files_in_separate_patch="" for s in ${separate_patches} do @@ -335,7 +335,7 @@ add_file "${tmp_Kconfig}" "drivers/scst/Kconfig" tmp_Makefile="${tmpdir}/Makefile.scst-${kver}" cat "scst/kernel/in-tree/Makefile.scst-${kver}" | \ -if false || [ "${generating_upstream_patch}" = "true" ]; then +if [ "${generating_upstream_patch}" = "true" ]; then grep -v 'scst_proc' else cat