Skip to contentSkip to conversation

package/busybox: Use minimal.config for no MMU

PATCH Applied Jesse Taube 2 participants 2 messages Aug 19, 2023 – Aug 21, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/busybox: Use minimal.config for no MMU

When building Busybox for no MMU systems both umask and mask are not built. During boot-up, they will be called even though they are not present. This issue is fixed when using busybox-minimal.config To prevent confusion for future no-mmu boards select minimal.config for !MMU targets.

---
 package/busybox/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/busybox/Config.in +1 -0
index 5e5c586762..3c2aa515f8 100644
@@ -13,6 +13,7 @@ if BR2_PACKAGE_BUSYBOX
 
 config BR2_PACKAGE_BUSYBOX_CONFIG
 	string "BusyBox configuration file to use?"
+	default "package/busybox/busybox-minimal.config" if !BR2_USE_MMU
 	default "package/busybox/busybox.config"
 	help
 	  Some people may wish to use their own modified BusyBox
Signature · 6 lines
2.40.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · On Fri, 18 Aug 2023 22:16:23 -0400 Jesse Taube <[email protected]> wrote:

When building Busybox for no MMU systems both umask and mask are not built. During boot-up, they will be called even though they are not present. This issue is fixed when using busybox-minimal.config To prevent confusion for future no-mmu boards select minimal.config for !MMU targets.

---
 package/busybox/Config.in | 1 +
 1 file changed, 1 insertion(+)

Applied to next with a reworked commit log, see
https://gitlab.com/buildroot.org/buildroot/-/commit/80b56887006cfba50833881dc31f045d494af185

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot