Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] boost: add stacktrace library
Date: Tue, 24 Oct 2017 11:15:05 -0400	[thread overview]
Message-ID: <20171024151506.18116-1-aduskett@gmail.com> (raw)

stacktrace requires dynamic library support, which was causing the following
build errors:

http://autobuild.buildroot.net/results/692/692ffad93a7bd867ecc7ccbfc8c6280735d29435/build-end.log
http://autobuild.buildroot.net/results/605/6058ece804889abaaab0a29258e1de2904162d26/build-end.log
http://autobuild.buildroot.net/results/12d/12df9b345a90a4e011b8bb4cb1d1ef1c2c7040c0/build-end.log
http://autobuild.buildroot.net/results/747/7473c433e93b3e785e44d9868fec517437f59847/build-end.log
Signed-off-by: Adam Duskett <aduskett@gmail.com>
---
 package/boost/Config.in | 9 +++++++++
 package/boost/boost.mk  | 1 +
 2 files changed, 10 insertions(+)

diff --git a/package/boost/Config.in b/package/boost/Config.in
index 37a7e7339f..e69e6c64af 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -158,6 +158,15 @@ config BR2_PACKAGE_BOOST_SERIALIZATION
 config BR2_PACKAGE_BOOST_SIGNALS
 	bool "boost-signals"
 
+config BR2_PACKAGE_BOOST_STACKTRACE
+	bool "boost-stacktrace"
+	depends on !BR2_STATIC_LIBS
+	help
+	  Gather, store, copy and print backtraces.
+
+comment "boost-stacktrace needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_BOOST_SYSTEM
 	bool "boost-system"
 
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 0fd6c4d0de..750b40f7d2 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -42,6 +42,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_REGEX),,regex)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SERIALIZATION),,serialization)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SIGNALS),,signals)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_STACKTRACE),,stacktrace)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test)
 BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread)
-- 
2.13.6

             reply	other threads:[~2017-10-24 15:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-24 15:15 Adam Duskett [this message]
2017-10-24 15:15 ` [Buildroot] [PATCH 2/2] boost: add help messages to libraries Adam Duskett

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=20171024151506.18116-1-aduskett@gmail.com \
    --to=aduskett@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