Patchwork linux-user: Fix include path

login
register
mail settings
Submitter =?utf-8?Q?Llu=C3=ADs?=
Date June 29, 2011, 3:48 p.m.
Message ID <20110629154847.21616.15777.stgit@ginnungagap.bsc.es>
Download mbox | patch
Permalink /patch/102641/
State New
Headers show

Comments

=?utf-8?Q?Llu=C3=ADs?= - June 29, 2011, 3:48 p.m.
This path works regardless of the current compilation directory.

Signed-off-by: LluĂ­s Vilanova <vilanova@ac.upc.edu>
---
 Makefile.target |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/Makefile.target b/Makefile.target
index 38afdb8..9967198 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -15,7 +15,7 @@  endif
 TARGET_PATH=$(SRC_PATH)/target-$(TARGET_BASE_ARCH)
 $(call set-vpath, $(SRC_PATH):$(TARGET_PATH):$(SRC_PATH)/hw)
 ifdef CONFIG_LINUX
-QEMU_CFLAGS += -I../linux-headers
+QEMU_CFLAGS += -I$(SRC_PATH)/linux-headers
 endif
 QEMU_CFLAGS += -I.. -I$(TARGET_PATH) -DNEED_CPU_H