From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 16009] 'select' does not work with 'choice'
Date: Wed, 27 Mar 2024 21:04:57 +0000 [thread overview]
Message-ID: <bug-16009-163-liek4JdsBM@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-16009-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=16009
Arnout Vandecappelle <arnout@mind.be> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #1 from Arnout Vandecappelle <arnout@mind.be> ---
This is just how Kconfig works: it is not possible to "select" an option in a
choice. We don't develelop Kconfig ourselves, we simply inherit it from the
Linux kernel, so we are not in a position to fix this issue.
I think the reason it is this way is that there is nothing stopping two configs
to select two separate options from the choice. In your example, if both
BR2_TEST_BOOL_S1 and BR2_TEST_BOOL_S2 are set to y, then both BR2_TEST_1 and
BR2_TEST_2 would be selected. I think to fix this issue, you would need to put
a full-fledged boolean resolver behind it.
If you want a workaround for this limitation, take a look at openssl. It has a
choice between libopenssl and libressl, but there is also the symbol
BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL. If that symbol is selected, the libressl
choice is no longer available, so it is forced to openssl. Note that it is only
possible to force it in one direction that way (so there is no
BR2_PACKAGE_OPENSSL_FORCE_LIBRESSL) - otherwise, you'd be back in the same
situation as your example; Kconfig reports this as a circular dependency.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-03-27 21:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-27 15:55 [Buildroot] [Bug 16009] New: 'select' does not work with 'choice' bugzilla
2024-03-27 21:04 ` bugzilla [this message]
2024-03-28 7:50 ` [Buildroot] [Bug 16009] " bugzilla
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=bug-16009-163-liek4JdsBM@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/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