Skip to contentSkip to conversation

linux-user: Fix include path

PATCH New Lluís 1 participant 1 message Jun 29, 2011 Kbuild

lore
Share & tools
lore

Lluís

author
#0 lore raw

PATCH 1/1 linux-user: Fix include path

This path works regardless of the current compilation directory.

---
 Makefile.target |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile.target +1 -1
index 38afdb8..9967198 100644
@@ -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