Corrected kernel-2.6.29-pre-cflags.patch.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2011-04-10 11:53:07 +00:00
parent 522c9bac67
commit f427ce220c

View File

@@ -1,11 +1,11 @@
--- linux-2.6.27/scripts/Makefile.lib 2009-05-10 19:02:42.000000000 +0200
+++ linux-2.6.27/scripts/Makefile.lib 2009-05-05 19:34:57.000000000 +0200
@@ -119,7 +119,7 @@
__cpp_flags = $(call flags,_cpp_flags)
endif
-c_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \
+c_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(PRE_CFLAGS) $(KBUILD_CPPFLAGS) \
$(__c_flags) $(modkern_cflags) \
-D"KBUILD_STR(s)=\#s" $(basename_flags) $(modname_flags)
--- linux-2.6.30/Makefile 2009-10-31 13:49:29.000000000 +0100
+++ linux-2.6.30/Makefile 2009-10-31 13:49:32.000000000 +0100
@@ -342,7 +342,7 @@ AFLAGS_KERNEL =
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
-LINUXINCLUDE := -Iinclude \
+LINUXINCLUDE := $(PRE_CFLAGS) -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-I$(srctree)/arch/$(hdr-arch)/include \
-include include/linux/autoconf.h