# 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 directfb-install irqbalance-install pm-utils-install cpufrequtils-install kexec-tools-install oprofile-install perf-install power-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 directfb-install irqbalance-install pm-utils-install cpufrequtils-install kexec-tools-install perf-install oprofile-install
rm -rf userspace/man
rm -rf userspace/usr/share/man
.PHONY: oprofile-install
oprofile-install:
- if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr); fi
+ if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr --with-kenrel-support); fi
$(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) -C oprofile
$(MAKE) $(MFLAGS) -j$$(($(NCPUS) * 2)) -C oprofile prefix=$(CURDIR)/userspace install
+ mkdir -p $(CURDIR)/userspace/usr/share/oprofile
+ cp -rdf oprofile/events/i386 $(CURDIR)/userspace/usr/share/oprofile
+ cp -rdf oprofile/events/x86-64 $(CURDIR)/userspace/usr/share/oprofile
XEN_SRC = $(dir $(CURDIR))xen
XEN_DISTDIR = $(dir $(CURDIR))xen/dist/install