]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
Add xenalyze to the build system.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 8 May 2013 14:23:18 +0000 (10:23 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 8 May 2013 14:23:18 +0000 (10:23 -0400)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile
sources.mk

index b53f5fe545d2edf79bb99584fa9e5849f5dc9b7f..ed7c4109470755cf3c4c72d81f9d1a468d5ca2a8 100644 (file)
@@ -188,7 +188,7 @@ distdir:
 # 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 fio-install  irqbalance-install pm-utils-install cpufrequtils-install  perf-install oprofile-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  irqbalance-install pm-utils-install cpufrequtils-install   oprofile-install xenalyze-install 
 
        rm -rf userspace/man
        rm -rf userspace/usr/share/man
@@ -844,6 +844,12 @@ ifeq ($(RPM_ARCH), x86_64)
        (cd userspace/usr$(LIBSDIR); ln -fs  ../lib/libcpupower.so.0)
 endif
 
+.PHONY: xenalyze-install
+xenalyze-install:
+       $(MAKE) -j$$(($(NCPUS) * 2)) -C xenalyze
+       $(INSTALL_PROG)   xenalyze/xenalyze     userspace/usr/bin/
+       $(INSTALL_PROG)   xenalyze/dump-raw     userspace/usr/bin/
+
 .PHONY: oprofile-install
 oprofile-install:
        if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr --with-kernel-support --with-linux=$(LINUX_DST) --enable-gui=no); fi
index b82bec22d64abdd0381f0205650acb770f77bdb2..6a13c162c4db16aa624d7f9ddfa40334243682ad 100644 (file)
@@ -1,6 +1,6 @@
 
 
-REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs root_image/pm-utils root_image/kexec-tools xen linux
+REPOS = syslinux root_image/busybox root_image/netperf root_image/pciutils root_image/fio root_image/RPMs root_image/pm-utils root_image/kexec-tools xen linux root_image/xenalyze
 
 include $(TOP)/scm.mk
 
@@ -40,3 +40,6 @@ $(eval $(call GIT_REPO,xen.git,linux))
 
 GIT_URL=git://git.kernel.org/pub/scm/utils/kernel/kexec/
 $(eval $(call GIT_REPO,kexec-tools.git,root_image/kexec-tools))
+
+HG_URL=http://xenbits.xen.org/
+$(eval $(call HG_REPO,ext/xenalyze,root_image/xenalyze))