From patchwork Sun Apr 21 19:12:09 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: 238237 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 C9B632C010C for ; Mon, 22 Apr 2013 05:14:30 +1000 (EST) Received: from localhost ([::1]:47818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTziW-0002Fu-VM for incoming@patchwork.ozlabs.org; Sun, 21 Apr 2013 15:14:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTzgJ-0007fG-Cr for qemu-devel@nongnu.org; Sun, 21 Apr 2013 15:12:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UTzgI-0001jF-KD for qemu-devel@nongnu.org; Sun, 21 Apr 2013 15:12:11 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:33183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UTzgI-0001j6-6l for qemu-devel@nongnu.org; Sun, 21 Apr 2013 15:12:10 -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 r3LJC9m9001788 for ; Sun, 21 Apr 2013 21:12:09 +0200 Received: from localhost (unknown [84.88.51.85]) by gw.ac.upc.edu (Postfix) with ESMTP id 7C3C46B01A4 for ; Sun, 21 Apr 2013 21:12:09 +0200 (CEST) From: =?utf-8?b?TGx1w61z?= Vilanova To: qemu-devel@nongnu.org Date: Sun, 21 Apr 2013 21:12:09 +0200 Message-Id: <20130421191209.8947.17224.stgit@fimbulvetr.bsc.es> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <20130421191129.8947.77964.stgit@fimbulvetr.bsc.es> References: <20130421191129.8947.77964.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 r3LJC9m9001788 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 147.83.33.10 Subject: [Qemu-devel] [PATCH v3 07/24] 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