* [Buildroot] [git commit] package/linux-pam: separate locale and wchar dependencies
@ 2021-12-17 21:46 Thomas Petazzoni
2022-01-22 17:55 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-17 21:46 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=ac9261edec111836952970e26cf373cc15b9e8ac
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
They are currently expressed as such:
depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
which is not the common practice in Buildroot. We prefer to use:
depends on BR2_ENABLE_LOCALE
depends on BR2_USE_WCHAR
This commit ensures linux-pam is consistent with this best practice.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/linux-pam/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/package/linux-pam/Config.in b/package/linux-pam/Config.in
index 931cfdeccf..27ba55bd61 100644
--- a/package/linux-pam/Config.in
+++ b/package/linux-pam/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_LINUX_PAM
bool "linux-pam"
- depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
+ depends on BR2_ENABLE_LOCALE
+ depends on BR2_USE_WCHAR
depends on !BR2_STATIC_LIBS
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_FLEX
@@ -12,5 +13,5 @@ config BR2_PACKAGE_LINUX_PAM
comment "linux-pam needs a toolchain w/ wchar, locale, dynamic library"
depends on BR2_USE_MMU
- depends on !(BR2_ENABLE_LOCALE && BR2_USE_WCHAR) \
+ depends on !BR2_ENABLE_LOCALE || !BR2_USE_WCHAR \
|| BR2_STATIC_LIBS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [git commit] package/linux-pam: separate locale and wchar dependencies
2021-12-17 21:46 [Buildroot] [git commit] package/linux-pam: separate locale and wchar dependencies Thomas Petazzoni
@ 2022-01-22 17:55 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-01-22 17:55 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> commit: https://git.buildroot.net/buildroot/commit/?id=ac9261edec111836952970e26cf373cc15b9e8ac
> branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
> They are currently expressed as such:
> depends on (BR2_ENABLE_LOCALE && BR2_USE_WCHAR)
> which is not the common practice in Buildroot. We prefer to use:
> depends on BR2_ENABLE_LOCALE
> depends on BR2_USE_WCHAR
> This commit ensures linux-pam is consistent with this best practice.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Committed to 2021.02.x and 2021.11.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-22 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-17 21:46 [Buildroot] [git commit] package/linux-pam: separate locale and wchar dependencies Thomas Petazzoni
2022-01-22 17:55 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.