diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-12-05 15:05:26 +0100 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-12-05 15:59:21 +0100 |
commit | ab2e2fa85cf5622d5307586221a7bb1e21e68dc4 (patch) | |
tree | 636df270ebb1a2921b6c95b122d593538ed3c43b /packages/oprofile/oprofile_0.9.3.bb | |
parent | 79bfd7c3380dc7f1ddddb1bb00b7d15f20434006 (diff) |
oprofile: move common stuff to oprofile.inc
Diffstat (limited to 'packages/oprofile/oprofile_0.9.3.bb')
-rw-r--r-- | packages/oprofile/oprofile_0.9.3.bb | 43 |
1 files changed, 5 insertions, 38 deletions
diff --git a/packages/oprofile/oprofile_0.9.3.bb b/packages/oprofile/oprofile_0.9.3.bb index 7ffcec3b99..1553c1055c 100644 --- a/packages/oprofile/oprofile_0.9.3.bb +++ b/packages/oprofile/oprofile_0.9.3.bb @@ -1,11 +1,8 @@ -SECTION = "devel" -DESCRIPTION = "OProfile is a system-wide profiler for Linux systems, capable \ -of profiling all running code at low overhead." -LICENSE = "GPL" -DEPENDS = "popt binutils" -RDEPENDS = "binutils-symlinks" -RRECOMMENDS = "kernel-vmlinux" -PR = "r8" +require oprofile.inc + +RDEPENDS += "binutils-symlinks" +RRECOMMENDS += "kernel-vmlinux" +PR = "r9" SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ file://armv6_fix.patch;patch=1 \ @@ -16,33 +13,3 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/oprofile/oprofile-${PV}.tar.gz \ file://gcc43x-fix.patch;patch=1 \ file://armv7a.diff;patch=1 \ file://acinclude.m4" - -S = "${WORKDIR}/oprofile-${PV}" - -inherit autotools - -# NOTE: this disables the build of the kernel modules. -# Should add the oprofile kernel modules, for those with 2.4 -# kernels, as a seperate .oe file. -EXTRA_OECONF = "--with-kernel-support \ - --without-x" - -do_configure () { - cp ${WORKDIR}/acinclude.m4 ${S}/ - autotools_do_configure -} -# Available config options -# --enable-abi enable abi portability code (default is disabled) -# --enable-pch enable precompiled header (default is disabled) -# --enable-gcov enable option for gcov coverage testing (default is disabled) -# --disable-werror disable -Werror flag (default is enabled for non-release) -# --disable-optimization disable optimization flags (default is enabled) -# --with-kernel-support Use 2.6 kernel (no kernel source tree required) -# --with-linux=dir Path to Linux source tree -# --with-module-dir=dir Path to module installation directory -# --with-extra-includes=DIR add extra include paths -# --with-extra-libs=DIR add extra library paths -# --with-x use the X Window System -# --with-qt-dir where the root of Qt is installed -# --with-qt-includes where the Qt includes are. -# --with-qt-libraries where the Qt library is installed. |