Added to repository.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 29 Oct 2009 18:41:08 +0000 (18:41 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Thu, 29 Oct 2009 18:41:08 +0000 (18:41 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1295 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/patches/kernel-2.6.30-scripts-Makefile.lib.patch [new file with mode: 0644]

diff --git a/srpt/patches/kernel-2.6.30-scripts-Makefile.lib.patch b/srpt/patches/kernel-2.6.30-scripts-Makefile.lib.patch
new file mode 100644 (file)
index 0000000..c7c37a2
--- /dev/null
@@ -0,0 +1,11 @@
+--- /lib/modules/2.6.30.9-scst-debug/build/scripts/Makefile.lib.orig   2009-06-10 05:05:27.000000000 +0200
++++ /lib/modules/2.6.30.9-scst-debug/build/scripts/Makefile.lib        2009-10-27 20:20:19.000000000 +0100
+@@ -111,7 +111,7 @@
+ orig_c_flags   = $(KBUILD_CPPFLAGS) $(KBUILD_CFLAGS) $(KBUILD_SUBDIR_CCFLAGS) \
+                  $(ccflags-y) $(CFLAGS_$(basetarget).o)
+-_c_flags       = $(filter-out $(CFLAGS_REMOVE_$(basetarget).o), $(orig_c_flags))
++_c_flags       = $(filter-out $(CFLAGS_REMOVE_$(basetarget).o), $(orig_c_flags)) $(PRE_CFLAGS)
+ _a_flags       = $(KBUILD_CPPFLAGS) $(KBUILD_AFLAGS) $(KBUILD_SUBDIR_ASFLAGS) \
+                  $(asflags-y) $(AFLAGS_$(basetarget).o)
+ _cpp_flags     = $(KBUILD_CPPFLAGS) $(cppflags-y) $(CPPFLAGS_$(@F))