Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
.PHONY: oprofile-install
oprofile-install:
- if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr --with-kenrel-support); fi
+ if ! [ -e oprofile/config.h ]; then (cd oprofile; ./autogen.sh;./configure --prefix=/usr --with-kernel-support --with-linux=$(LINUX_DST) --enable-gui=no); 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