[Buildroot] [git commit] busybox: autodetect nfs mount support based on BR2_INET_RPC setting

Peter Korsgaard jacmet at sunsite.dk
Mon Jun 22 13:25:33 UTC 2009

commit: http://git.buildroot.net/buildroot/commit/?id=ab5208886e80ddaeb67af18797b6116e1ec4436f
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Override nfs mount support based on BR2_INET_RPC setting, so BR will DTRT.
This way you will automatically get NFS support in busybox if available in
the toolchain, and the build won't break if the defconfig enables it but
the user has it disabled in the toolchain.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
 package/busybox/busybox.mk |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
index fcec41a..a5978da 100644
--- a/package/busybox/busybox.mk
+++ b/package/busybox/busybox.mk
@@ -72,6 +72,11 @@ ifeq ($(BR2_INET_IPV6),y)
+ifeq ($(BR2_INET_RPC),y)
 	# force mdev on
 	$(SED) "s/^.*CONFIG_MDEV.*/CONFIG_MDEV=y/" $(BUSYBOX_DIR)/.config

More information about the buildroot mailing list