From patchwork Tue Apr 16 13:50:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Llu=C3=ADs_Vilanova?= X-Patchwork-Id: 236972 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6A3852C00E3 for ; Tue, 16 Apr 2013 23:58:16 +1000 (EST) Received: from localhost ([::1]:50475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US6Ok-0004jt-Q3 for incoming@patchwork.ozlabs.org; Tue, 16 Apr 2013 09:58:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US6JQ-0006Or-3k for qemu-devel@nongnu.org; Tue, 16 Apr 2013 09:52:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1US6HI-0003Bu-JW for qemu-devel@nongnu.org; Tue, 16 Apr 2013 09:50:34 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:44872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1US6HI-0003BY-6d for qemu-devel@nongnu.org; Tue, 16 Apr 2013 09:50:32 -0400 Received: from gw.ac.upc.edu (gw.ac.upc.es [147.83.30.3]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id r3GDoV3T030846 for ; Tue, 16 Apr 2013 15:50:31 +0200 Received: from localhost (unknown [84.88.51.85]) by gw.ac.upc.edu (Postfix) with ESMTP id 2C4B66B01C9 for ; Tue, 16 Apr 2013 15:50:31 +0200 (CEST) From: =?utf-8?b?TGx1w61z?= Vilanova To: qemu-devel@nongnu.org Date: Tue, 16 Apr 2013 15:50:31 +0200 Message-Id: <20130416135030.21588.12572.stgit@fimbulvetr.bsc.es> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <20130416134949.21588.80064.stgit@fimbulvetr.bsc.es> References: <20130416134949.21588.80064.stgit@fimbulvetr.bsc.es> User-Agent: StGit/0.16 MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by roura.ac.upc.es id r3GDoV3T030846 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 147.83.33.10 Subject: [Qemu-devel] [PATCH v2 07/23] system: [linux] Use absolute include path for linux-headers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Lets the include directive work regardless of the current directory. This is needed for code compiled in directories deeper than one level from the build root. Signed-off-by: LluĂ­s Vilanova --- Makefile.target | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.target b/Makefile.target index f382559..2f9675a 100644 --- a/Makefile.target +++ b/Makefile.target @@ -7,7 +7,7 @@ include $(SRC_PATH)/rules.mak $(call set-vpath, $(SRC_PATH)) ifdef CONFIG_LINUX -QEMU_CFLAGS += -I../linux-headers +QEMU_CFLAGS += -I$(BUILD_DIR)/linux-headers endif QEMU_CFLAGS += -I.. -I$(SRC_PATH)/target-$(TARGET_BASE_ARCH) -DNEED_CPU_H