From 522c9bac675c7dd3146085bf815a562d5e5f1756 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 10 Apr 2011 11:47:08 +0000 Subject: [PATCH] Corrected kernel-2.6.32-pre-cflags.patch. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3373 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/patches/kernel-2.6.32-pre-cflags.patch | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/srpt/patches/kernel-2.6.32-pre-cflags.patch b/srpt/patches/kernel-2.6.32-pre-cflags.patch index 2c782c124..88cc5f82d 100644 --- a/srpt/patches/kernel-2.6.32-pre-cflags.patch +++ b/srpt/patches/kernel-2.6.32-pre-cflags.patch @@ -1,14 +1,11 @@ -diff --git a/Makefile b/Makefile -index 8392b64..f5991d9 100644 ---- a/Makefile -+++ b/Makefile -@@ -349,7 +349,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage +--- 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 := -I$(srctree)/arch/$(hdr-arch)/include -Iinclude \ -+LINUXINCLUDE := $(PRE_CFLAGS) \ -+ -I$(srctree)/arch/$(hdr-arch)/include -Iinclude \ - $(if $(KBUILD_SRC), -I$(srctree)/include) \ - -include include/generated/autoconf.h - +-LINUXINCLUDE := -Iinclude \ ++LINUXINCLUDE := $(PRE_CFLAGS) -Iinclude \ + $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ + -I$(srctree)/arch/$(hdr-arch)/include \ + -include include/linux/autoconf.h