aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/Makefile4
-rw-r--r--tools/libaio/src/Makefile2
-rw-r--r--tools/xenstat/libxenstat/Makefile2
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 8920ae9a9b..6789ec4003 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -60,8 +60,8 @@ IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \
endif
ioemu/config-host.mak:
- cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure --prefix=/usr \
- $(IOEMU_CONFIGURE_CROSS)
+ cd ioemu && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure \
+ --prefix=$(PREFIX) $(IOEMU_CONFIGURE_CROSS)
subdir-all-ioemu subdir-install-ioemu: ioemu/config-host.mak
diff --git a/tools/libaio/src/Makefile b/tools/libaio/src/Makefile
index f926670e67..da981b7178 100644
--- a/tools/libaio/src/Makefile
+++ b/tools/libaio/src/Makefile
@@ -1,7 +1,7 @@
XEN_ROOT = ../../..
include $(XEN_ROOT)/tools/Rules.mk
-prefix=/usr
+prefix=$(PREFIX)
includedir=$(prefix)/include
libdir=$(prefix)/lib
diff --git a/tools/xenstat/libxenstat/Makefile b/tools/xenstat/libxenstat/Makefile
index f60ec7872e..1177b55ac0 100644
--- a/tools/xenstat/libxenstat/Makefile
+++ b/tools/xenstat/libxenstat/Makefile
@@ -15,7 +15,7 @@
XEN_ROOT=../../..
include $(XEN_ROOT)/tools/Rules.mk
-prefix=/usr
+prefix=$(PREFIX)
includedir=$(prefix)/include
libdir=$(prefix)/lib