Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] packages: add WCHAR dependency for packages that select native binutils
Date: Tue, 19 Aug 2014 02:03:27 +0400	[thread overview]
Message-ID: <1408399407-23604-3-git-send-email-abrodkin@synopsys.com> (raw)
In-Reply-To: <1408399407-23604-1-git-send-email-abrodkin@synopsys.com>

Native binutils require uClibc with WCHAR.
Otherwise build stops with error - https://bugs.busybox.net/show_bug.cgi?id=6218

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/dropwatch/Config.in | 1 +
 package/oprofile/Config.in  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/dropwatch/Config.in b/package/dropwatch/Config.in
index 0c9aca6..a19b29f 100644
--- a/package/dropwatch/Config.in
+++ b/package/dropwatch/Config.in
@@ -5,6 +5,7 @@ config BR2_PACKAGE_DROPWATCH
 	select BR2_PACKAGE_READLINE
 	select BR2_PACKAGE_LIBNL
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+	depends on BR2_USE_WCHAR # native binutils require WCHAR
 	help
 	  Dropwatch is an interactive utility for monitoring and
 	  recording packets that are dropped by the kernel
diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 075e9ea..4dca560 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -9,6 +9,7 @@ config BR2_PACKAGE_OPROFILE
 	depends on !BR2_xtensa
 	# libpfm4 is needed on PowerPC, and requires thread support
 	depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
+	depends on BR2_USE_WCHAR # native binutils require WCHAR
 	help
 	  OProfile is a system-wide profiler for Linux systems,
 	  capable of profiling all running code at low overhead.
-- 
1.9.3

  parent reply	other threads:[~2014-08-18 22:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-18 22:03 [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build Alexey Brodkin
2014-08-18 22:03 ` [Buildroot] [PATCH 1/2] binutils: troubleshoot native binutils building (add WCHAR dependency) Alexey Brodkin
2014-08-18 22:03 ` Alexey Brodkin [this message]
2014-09-23 11:05 ` [Buildroot] [PATCH 0/2] Make sure WCHAR is enabled if native binutils will be build Alexey Brodkin
2014-09-23 11:22   ` Thomas Petazzoni
2014-09-23 11:31     ` Alexey Brodkin

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=1408399407-23604-3-git-send-email-abrodkin@synopsys.com \
    --to=alexey.brodkin@synopsys.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