qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 07/22] linux-user: Use absolute include path


From: Lluís Vilanova
Subject: [Qemu-devel] [PATCH 07/22] linux-user: Use absolute include path
Date: Tue, 26 Mar 2013 15:01:00 +0100
User-agent: StGit/0.16

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 <address@hidden>
---
 Makefile.target |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.target b/Makefile.target
index 310471b..af299a0 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
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]