Files
scst/srpt/patches/kernel-3.1-pre-cflags.patch
Bart Van Assche baf5c259bc regtests: Add files necessary for Linux kernel 3.1
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3929 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-11-17 09:24:12 +00:00

15 lines
621 B
Diff

diff --git a/Makefile b/Makefile
index d018956..3c3b936 100644
--- a/Makefile
+++ b/Makefile
@@ -357,7 +357,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 \
+LINUXINCLUDE := $(PRE_CFLAGS) \
+ -I$(srctree)/arch/$(hdr-arch)/include \
-Iarch/$(hdr-arch)/include/generated -Iinclude \
$(if $(KBUILD_SRC), -I$(srctree)/include) \
-include include/generated/autoconf.h