ISCSI target sysfs implementation, except "enabled" attribute.
[mirror/scst/.git] / srpt / patches / kernel-2.6.30-scripts-Makefile.lib.patch
1 --- /lib/modules/2.6.30.9-scst-debug/build/scripts/Makefile.lib.orig    2009-06-10 05:05:27.000000000 +0200
2 +++ /lib/modules/2.6.30.9-scst-debug/build/scripts/Makefile.lib 2009-10-27 20:20:19.000000000 +0100
3 @@ -111,7 +111,7 @@
4  
5  orig_c_flags   = $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(KBUILD_SUBDIR_CCFLAGS) \
6                   $(ccflags-y) $(CFLAGS_$(basetarget).o)
7 -_c_flags       = $(filter-out $(CFLAGS_REMOVE_$(basetarget).o), $(orig_c_flags))
8 +_c_flags       = $(filter-out $(CFLAGS_REMOVE_$(basetarget).o), $(orig_c_flags)) $(PRE_CFLAGS)
9  _a_flags       = $(KBUILD_CPPFLAGS) $(KBUILD_AFLAGS) $(KBUILD_SUBDIR_ASFLAGS) \
10                   $(asflags-y) $(AFLAGS_$(basetarget).o)
11  _cpp_flags     = $(KBUILD_CPPFLAGS) $(cppflags-y) $(CPPFLAGS_$(@F))