From 6c252e19da4235a8bf4e19a03b659fa9a30bbbe0 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 10 Apr 2011 09:03:58 +0000 Subject: [PATCH] Added file srpt/patches/kernel-2.6.32-pre-cflags.patch to the repository (merged r3369 from the trunk). git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.0.0.x@3370 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/patches/kernel-2.6.32-pre-cflags.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srpt/patches/kernel-2.6.32-pre-cflags.patch diff --git a/srpt/patches/kernel-2.6.32-pre-cflags.patch b/srpt/patches/kernel-2.6.32-pre-cflags.patch new file mode 100644 index 000000000..2c782c124 --- /dev/null +++ b/srpt/patches/kernel-2.6.32-pre-cflags.patch @@ -0,0 +1,14 @@ +diff --git a/Makefile b/Makefile +index 8392b64..f5991d9 100644 +--- a/Makefile ++++ b/Makefile +@@ -349,7 +349,8 @@ CFLAGS_GCOV = -fprofile-arcs -ftest-coverage + + # 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 +