Files
scst/srpt/patches/kernel-2.6.30-pre-cflags.patch
Bart Van Assche 0cd53b65ef Made sure that the pre-cflags patches are uniform to the other in-tree kernel
patches, i.e. that -p1 has to be used to apply these patches.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1443 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-01-10 13:16:28 +00:00

12 lines
556 B
Diff

--- 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