From: Jan Kiszka <[email protected]>

Make sure recursive KVM trace header including works by adding the arch
source directory to the search path. This is at least required for
non-split kernel trees, but play safe and add it to both.

Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>

diff --git a/Makefile b/Makefile
index ad08c45..37a14e1 100644
--- a/Makefile
+++ b/Makefile
@@ -29,7 +29,7 @@ all:: prerequisite
                LINUXINCLUDE="-I`pwd`/include -Iinclude \
                $(if $(KERNELSOURCEDIR),\
                        -Iinclude2 -I$(KERNELSOURCEDIR)/include 
-I$(KERNELSOURCEDIR)/arch/${ARCH_DIR}/include, \
-                       -Iarch/${ARCH_DIR}/include) -I`pwd`/include-compat \
+                       -Iarch/${ARCH_DIR}/include) -I`pwd`/include-compat 
-I`pwd`/${ARCH_DIR} \
                -include include/linux/autoconf.h \
                -include `pwd`/$(ARCH_DIR)/external-module-compat.h 
$(module_defines)" \
                "$$@"
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to