tools: use $(PREFIX) rather than hard-coding /usr
RFC PATCH 1/1 tools: use $(PREFIX) rather than hard-coding /usr
I would think that when a non-default $(PREFIX) is in use, it should be honored by sub-components whenever possible.
Signed-off-by Jan Beulich <[email protected]>
tools/Makefile +2 -2
@@ -60,8 +60,8 @@ IOEMU_CONFIGURE_CROSS ?= --cross-prefix= 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
tools/libaio/src/Makefile +1 -1
@@ -1,7 +1,7 @@ XEN_ROOT = ../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib
tools/xenstat/libxenstat/Makefile +1 -1
@@ -15,7 +15,7 @@ XEN_ROOT=../../.. include $(XEN_ROOT)/tools/Rules.mk -prefix=/usr +prefix=$(PREFIX) includedir=$(prefix)/include libdir=$(prefix)/lib