mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
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
This commit is contained in:
14
srpt/patches/kernel-2.6.32-pre-cflags.patch
Normal file
14
srpt/patches/kernel-2.6.32-pre-cflags.patch
Normal file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user