Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: benoit.mauduit at gmail.com <benoit.mauduit@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] oprofile: Make it possible to select it with external toolchain
Date: Wed,  8 Jun 2011 15:57:27 +0200	[thread overview]
Message-ID: <1307541448-15176-2-git-send-email-benoit.mauduit@gmail.com> (raw)
In-Reply-To: <1307541448-15176-1-git-send-email-benoit.mauduit@gmail.com>

From: Benoit Mauduit <benoit.mauduit@openwide.fr>

---
 package/oprofile/Config.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 0e3652d..6c9e149 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -3,10 +3,10 @@ config BR2_PACKAGE_OPROFILE
 	# The dependency on binutils_target does not work with
 	# external toolchains since the binutils version was not
 	# choosen in the config. This will have to be fixed later.
-	depends on !BR2_TOOLCHAIN_EXTERNAL
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_BINUTILS
-	depends on BR2_INSTALL_LIBSTDCPP
+	select BR2_PACKAGE_BINUTILS_LIBBFD
+	depends on BR2_INSTALL_LIBSTDCPP || BR2_TOOLCHAIN_EXTERNAL
 	help
 	  OProfile is a system-wide profiler for Linux systems,
 	  capable of profiling all running code at low overhead.
@@ -23,5 +23,8 @@ config BR2_PACKAGE_OPROFILE
 	  interrupt handlers, kernel modules, the kernel, shared
 	  libraries, and applications.
 
+	  If you compile oprofile with external toolchain, make sure
+	  you have C++ support enabled.
+
 comment "oprofile requires a toolchain with C++ support enabled"
-	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_TOOLCHAIN_EXTERNAL && !BR2_INSTALL_LIBSTDCPP
-- 
1.7.5.2

  reply	other threads:[~2011-06-08 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 13:57 [Buildroot] [PATCH 1/3] binutils: Makefile and Config.in rework for oprofile ext toolchain compilation benoit.mauduit at gmail.com
2011-06-08 13:57 ` benoit.mauduit at gmail.com [this message]
2011-06-08 13:57 ` [Buildroot] [PATCH 3/3] oprofile: Bump to 0.9.6 benoit.mauduit at gmail.com
2011-10-27 13:17 ` [Buildroot] [PATCH 1/3] binutils: Makefile and Config.in rework for oprofile ext toolchain compilation Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1307541448-15176-2-git-send-email-benoit.mauduit@gmail.com \
    --to=benoit.mauduit@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox