Updates for the OFED 1.5 + kernel 2.6.30 combination.
[mirror/scst/.git] / srpt / patches / kernel-2.6.30-pre-cflags.patch
1 --- Makefile.orig       2009-10-31 13:49:29.000000000 +0100
2 +++ Makefile    2009-10-31 13:49:32.000000000 +0100
3 @@ -342,7 +342,7 @@ AFLAGS_KERNEL       =
4  
5  # Use LINUXINCLUDE when you must reference the include/ directory.
6  # Needed to be compatible with the O= option
7 -LINUXINCLUDE    := -Iinclude \
8 +LINUXINCLUDE    := $(PRE_CFLAGS) -Iinclude \
9                     $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
10                     -I$(srctree)/arch/$(hdr-arch)/include               \
11                     -include include/linux/autoconf.h