linux-user: Fix include path

Submitted by =?utf-8?Q?Llu=C3=ADs?= on June 29, 2011, 3:48 p.m.

Details

Message ID 20110629154847.21616.15777.stgit@ginnungagap.bsc.es
State New
Headers show

Commit Message

=?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 hide | download patch | download mbox

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