package/ndctl: fix Config.in comment
PATCH 1/2 package/ndctl: fix Config.in comment
The Config.in comment has the correct dependency on !BR2_TOOLCHAIN_HAS_THREADS, but that was not reflected in the comment text itself.
--- package/ndctl/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ndctl/Config.in +1 -1
@@ -19,7 +19,7 @@ config BR2_PACKAGE_NDCTL https://github.com/pmem/ndctl -comment "ndctl needs udev /dev management, a toolchain headers >= 5.10" +comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_PACKAGE_HAS_UDEV \
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/ndctl: propagate !BR2_STATIC_LIBS dependency
ndctl selects kmod and keyutils, both of which depend on !BR2_STATIC_LIBS, but this dependency was not propagated into ndctl when the package was introduced. This commit fixes this issue.
--- package/ndctl/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
package/ndctl/Config.in +4 -2
@@ -5,6 +5,7 @@ config BR2_PACKAGE_NDCTL depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS # kmod, keyutils select BR2_PACKAGE_INIPARSER select BR2_PACKAGE_JSON_C select BR2_PACKAGE_KEYUTILS
@@ -19,9 +20,10 @@ config BR2_PACKAGE_NDCTL https://github.com/pmem/ndctl -comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10" +comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_PACKAGE_HAS_UDEV \ || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 \ + || BR2_STATIC_LIBS
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedRe: [Buildroot] [PATCH 2/2] package/ndctl: propagate !BR2_STATIC_LIBS dependency
In reply of:
Quoted 6 lines
ndctl selects kmod and keyutils, both of which depend on !BR2_STATIC_LIBS, but this dependency was not propagated into ndctl when the package was introduced. This commit fixes this issue.
Fixes 039c1ae13ec12f7cebddf86f37080d0a1fee28e6 ("package/ndctl: new package")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 19 lines
--- package/ndctl/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)package/ndctl/Config.in +1
-0@@ -5,6 +5,7 @@ config BR2_PACKAGE_NDCTL depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU + depends on !BR2_STATIC_LIBS # kmod, keyutils select BR2_PACKAGE_INIPARSER select BR2_PACKAGE_JSON_C select BR2_PACKAGE_KEYUTILS@@ -19,9 +20,10 @@ config BR2_PACKAGE_NDCTL https://github.com/pmem/ndctl
package/ndctl/Config.in config BR2_PACKAGE_NDCTL · line 29
Quoted 10 lines
package/ndctl/Config.in +3
-2-comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10" +comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10, dynamic library" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_PACKAGE_HAS_UDEV \ || !BR2_TOOLCHAIN_HAS_THREADS \ - || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 + || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 \ + || BR2_STATIC_LIBS
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Thomas,
Thanks for the fixes. Both patches look good to me.
For the series:
Quoted 11 lines
On 15 Sep 2026, at 20:29, Thomas Petazzoni via buildroot <[email protected]> wrote:
From: Thomas Petazzoni <[email protected]>
ndctl selects kmod and keyutils, both of which depend on !BR2_STATIC_LIBS, but this dependency was not propagated into ndctl when the package was introduced. This commit fixes this issue.
Fixes 039c1ae13ec12f7cebddf86f37080d0a1fee28e6 ("package/ndctl: new package")Signed-off-by Thomas Petazzoni <[email protected]>
I've confirmed that both kmod and keyutils carry depends on !BR2_STATIC_LIBS, so the propagation is indeed necessary. The fix is correct — the || BR2_STATIC_LIBS in the comment's depends block is the right way to express "show this comment when static libs are enabled".
Best regards,
Chen
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Thomas Petazzoni via buildroot
The Config.in comment has the correct dependency on !BR2_TOOLCHAIN_HAS_THREADS, but that was not reflected in the comment text itself.
Fixes 039c1ae13ec12f7cebddf86f37080d0a1fee28e6 ("package/ndctl: new package")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 6 lines
The Config.in comment has the correct dependency on !BR2_TOOLCHAIN_HAS_THREADS, but that was not reflected in the comment text itself.
Fixes 039c1ae13ec12f7cebddf86f37080d0a1fee28e6 ("package/ndctl: new package")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 9 lines
--- package/ndctl/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/ndctl/Config.in +0
-0
package/ndctl/Config.in config BR2_PACKAGE_NDCTL · line 25
Quoted 8 lines
package/ndctl/Config.in +1
-1@@ -19,7 +19,7 @@ config BR2_PACKAGE_NDCTL https://github.com/pmem/ndctl -comment "ndctl needs udev /dev management, a toolchain headers >= 5.10" +comment "ndctl needs udev /dev management, a toolchain w/ threads, headers >= 5.10" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_PACKAGE_HAS_UDEV \
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot