[PATCH 02/17] net: ipv6: Add IPv6 build options

Simon Glass sjg at chromium.org
Thu Sep 1 04:26:42 CEST 2022


Hi Viacheslav,

On Tue, 30 Aug 2022 at 07:01, Viacheslav Mitrofanov
<v.v.mitrofanov at yadro.com> wrote:
>
> Add options to Makefile and Kconfig file to build IPv6
>
> Signed-off-by: Viacheslav Mitrofanov <v.v.mitrofanov at yadro.com>
> ---
>  net/Kconfig  | 4 ++++
>  net/Makefile | 1 +
>  2 files changed, 5 insertions(+)
>
> diff --git a/net/Kconfig b/net/Kconfig
> index 52e261884d..568e622de8 100644
> --- a/net/Kconfig
> +++ b/net/Kconfig
> @@ -174,6 +174,10 @@ config BOOTP_MAX_ROOT_PATH_LEN
>         help
>           Select maximal length of option 17 root path.
>
> +config IPV6
> +       bool "IPv6 support"
> +       default n

drop that (n is already the default)

also please add lots of help!

> +
>  endif   # if NET
>
>  config SYS_RX_ETH_BUFFER
> diff --git a/net/Makefile b/net/Makefile
> index 6c812502d3..4ea2a14f27 100644
> --- a/net/Makefile
> +++ b/net/Makefile
> @@ -21,6 +21,7 @@ obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
>  obj-$(CONFIG_NET)      += eth_common.o
>  obj-$(CONFIG_CMD_LINK_LOCAL) += link_local.o
>  obj-$(CONFIG_NET)      += net.o
> +obj-$(CONFIG_IPV6)     += net6.o
>  obj-$(CONFIG_CMD_NFS)  += nfs.o
>  obj-$(CONFIG_CMD_PING) += ping.o
>  obj-$(CONFIG_CMD_PCAP) += pcap.o
> --
> 2.25.1
>

Regards,
Simon


More information about the U-Boot mailing list