[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kvm-commits
Subject:    [COMMIT master] kvm-kmod: Fix including of arch/*/kvm/trace.h
From:       Avi Kivity <avi () redhat ! com>
Date:       2009-07-26 9:44:57
Message-ID: 20090726094457.9A83D2501B6 () cleopatra ! tlv ! redhat ! com
[Download RAW message or body]

From: Jan Kiszka <jan.kiszka@web.de>

When building against a split kernel, we have to add its source path to
the include path. Otherwise arch/*/kvm/trace.h cannot be found.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

diff --git a/Makefile b/Makefile
index ad08c45..4c813a6 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ all:: prerequisite
 	$(MAKE) -C $(KERNELDIR) M=`pwd` \
 		LINUXINCLUDE="-I`pwd`/include -Iinclude \
 		$(if $(KERNELSOURCEDIR),\
-			-Iinclude2 -I$(KERNELSOURCEDIR)/include \
-I$(KERNELSOURCEDIR)/arch/${ARCH_DIR}/include, \ +			-Iinclude2 \
-I$(KERNELSOURCEDIR)/include -I$(KERNELSOURCEDIR)/arch/${ARCH_DIR}/include \
                -I$(KERNELSOURCEDIR), \
 			-Iarch/${ARCH_DIR}/include) -I`pwd`/include-compat \
 		-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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic