# This target includes all userspace tools and images
# It does not include the Linux drivers/modules found in the modulespace target
.PHONY: root_image-userspace-install
-root_image-userspace-install: $(USERSPACE_INSTALL) add-libs add-bins add-debug-bins tools-install wget-install vim-install rsync-install openssh-install xtt-tools-install netperf-install lvm2-install plymouth-install pciutils-install iscsi-install bridge-utils-install xend-install nfs-install
+root_image-userspace-install: $(USERSPACE_INSTALL) add-libs add-bins add-debug-bins tools-install wget-install vim-install rsync-install openssh-install xtt-tools-install netperf-install lvm2-install plymouth-install pciutils-install iscsi-install bridge-utils-install xend-install nfs-install fio-install
rm -rf userspace/man
rm -rf userspace/usr/share/man
$(INSTALL_PROG) tools/iostat-2.2/iostat userspace/usr/bin/
$(INSTALL_PROG) tools/debug/fb_test userspace/usr/bin/
+fio/fio: fio/fio
+ $(MAKE) -C fio
+
+.PHONY: fio-install
+fio-install: fio/fio
+ $(call RPM_TO_USERSPACE,*libaio*,$(RPM_DIR)/libaio)
+ $(INSTALL_PROG) fio/fio userspace/usr/bin/
+
.PHONY: root_image-tools-install
root_image-tools-install: userspace-prep
-REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/RPMs xen linux
+REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs xen linux
include $(TOP)/scm.mk
+
+GIT_URL=git://git.kernel.dk/
+$(eval $(call GIT_REPO,fio.git,root_image/fio))
+
GIT_URL=git://xenbits.xensource.com/xentesttools/
# Unroll those defines in real $-fetch labels..
$(eval $(call GIT_REPO,syslinux.git,syslinux))