aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-24 14:33:28 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-24 14:33:28 +0100
commit499da5e253e881a4b1614d44b5347d1dd6afe195 (patch)
tree01eec013f15caa5f3eb39e2355446fc91d462d35 /tools
parent6f79893756dd778aea1fb8c42efa4b4832da5d7a (diff)
downloadxen-499da5e253e881a4b1614d44b5347d1dd6afe195.tar.gz
xen-499da5e253e881a4b1614d44b5347d1dd6afe195.tar.bz2
xen-499da5e253e881a4b1614d44b5347d1dd6afe195.zip
tools: use $(PREFIX) rather than hard-coding /usr
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'tools')
-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