Added a variant of the patch for scripts/Makefile.lib.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 10 May 2009 18:04:57 +0000 (18:04 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sun, 10 May 2009 18:04:57 +0000 (18:04 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@835 d57e44dd-8a1f-0410-8b47-8ef2f437770f

srpt/patches/kernel-2.6.18-scripts-Makefile.lib.patch [new file with mode: 0644]
srpt/patches/kernel-2.6.27-scripts-Makefile.lib.patch [moved from srpt/patches/kernel-scripts-Makefile.lib.patch with 100% similarity]

diff --git a/srpt/patches/kernel-2.6.18-scripts-Makefile.lib.patch b/srpt/patches/kernel-2.6.18-scripts-Makefile.lib.patch
new file mode 100644 (file)
index 0000000..53cf23f
--- /dev/null
@@ -0,0 +1,11 @@
+--- scripts/Makefile.lib       2009-05-10 20:00:05.000000000 +0200
++++ scripts/Makefile.lib       2009-05-10 20:00:25.000000000 +0200
+@@ -108,7 +108,7 @@
+ __cpp_flags     =                          $(call flags,_cpp_flags)
+ endif
+-c_flags        = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(CPPFLAGS) \
++c_flags        = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(PRE_CFLAGS) $(CPPFLAGS) \
+                $(__c_flags) $(modkern_cflags) \
+                -D"KBUILD_STR(s)=\#s" $(basename_flags) $(modname_flags)