From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 02/18] busybox: don't force FEATURE_NFS_MOUNT
Date: Sun, 04 Nov 2012 00:35:36 +0100 [thread overview]
Message-ID: <5095AA48.4010805@mind.be> (raw)
In-Reply-To: <ce9a6aa9dfc0c6dc3496b272670a8370b638aa21.1351964808.git.thomas.petazzoni@free-electrons.com>
On 11/03/12 18:47, Thomas Petazzoni wrote:
> Instead of making the Busybox configuration more complicated by trying
> to adjust it depending on whether RPC is available or not (which gets
> complicated when RPC support can be provided by libtirpc), simplify
> things by letting the user enable FEATURE_NFS_MOUNT or not depending
> on whether RPC support is available or not.
>
> Our default configuration do not enable FEATURE_NFS_MOUNT, so users
> will not face any build problems by default. Only if they explicitly
> enable FEATURE_NFS_MOUNT will they have to make sure that the
> toolchain has RPC support, or that libtirpc is enabled (support for
> this added in a followup patch).
>
> Signed-off-by: Thomas Petazzoni<thomas.petazzoni@free-electrons.com>
Except for one comment below:
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
> package/busybox/busybox.mk | 11 -----------
> 1 file changed, 11 deletions(-)
>
> diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk
> index 33f8633..306b46f 100644
> --- a/package/busybox/busybox.mk
> +++ b/package/busybox/busybox.mk
> @@ -81,17 +81,6 @@ define BUSYBOX_SET_IPV6
> endef
> endif
>
> -# If RPC is enabled then enable nfs mounts
> -ifeq ($(BR2_INET_RPC),y)
> -define BUSYBOX_SET_RPC
> - $(call KCONFIG_ENABLE_OPT,CONFIG_FEATURE_MOUNT_NFS,$(BUSYBOX_BUILD_CONFIG))
> -endef
> -else
> -define BUSYBOX_SET_RPC
> - $(call KCONFIG_DISABLE_OPT,CONFIG_FEATURE_MOUNT_NFS,$(BUSYBOX_BUILD_CONFIG))
> -endef
> -endif
> -
You forgot to remove the use of $(BUSYBOX_SET_RPC)
Regards,
Arnout
> # If we're using static libs do the same for busybox
> ifeq ($(BR2_PREFER_STATIC_LIB),y)
> define BUSYBOX_PREFER_STATIC
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-11-03 23:35 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-03 17:47 [Buildroot] [pull request] Pull request for branch for-2012.11/rpc-support Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 01/18] uClibc: use the Buildroot toolchain options instead of the hidden common options Thomas Petazzoni
2012-11-03 23:32 ` Arnout Vandecappelle
2012-11-04 0:11 ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 02/18] busybox: don't force FEATURE_NFS_MOUNT Thomas Petazzoni
2012-11-03 23:35 ` Arnout Vandecappelle [this message]
2012-11-04 0:12 ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 03/18] toolchain-crosstool-ng: use the Crosstool-ng config options instead of the common hidden ones Thomas Petazzoni
2012-11-03 23:39 ` Arnout Vandecappelle
2012-11-04 0:13 ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 04/18] Rename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPC Thomas Petazzoni
2012-11-03 23:42 ` Arnout Vandecappelle
2012-11-04 0:15 ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 05/18] toolchain-external: improve glibc support to test availability of RPC Thomas Petazzoni
2012-11-03 23:45 ` Arnout Vandecappelle
2012-11-03 17:47 ` [Buildroot] [PATCH 06/18] libtirpc: new package Thomas Petazzoni
2012-11-03 23:53 ` Arnout Vandecappelle
2012-11-04 0:47 ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 07/18] busybox: add support to link against libtirpc when available Thomas Petazzoni
2012-11-03 23:56 ` Arnout Vandecappelle
2012-11-03 17:47 ` [Buildroot] [PATCH 08/18] lmbench: add support to use " Thomas Petazzoni
2012-11-04 0:01 ` Arnout Vandecappelle
2012-11-03 17:47 ` [Buildroot] [PATCH 09/18] nfs-utils: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 10/18] rpcbind: new package Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 11/18] portmap: mention that rpcbind is the project that superseds portmap Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 12/18] quota: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 13/18] samba: unconditionally enable --with-sys-quotas Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 14/18] xinetd: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:48 ` [Buildroot] [PATCH 15/18] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
2012-11-04 6:52 ` Baruch Siach
2012-11-03 17:48 ` [Buildroot] [PATCH 16/18] toolchain-external: add Sourcery CodeBench x86 2012.03 Thomas Petazzoni
2012-11-04 3:15 ` Arnout Vandecappelle
2012-11-03 17:48 ` [Buildroot] [PATCH 17/18] netkitbase: mark as deprecated Thomas Petazzoni
2012-11-04 0:18 ` Peter Korsgaard
2012-11-03 17:48 ` [Buildroot] [PATCH 18/18] netkittelnet: " Thomas Petazzoni
2012-11-04 0:18 ` Peter Korsgaard
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=5095AA48.4010805@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/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 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.