All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies
@ 2015-05-25  9:37 Michal Simek
  2015-05-25 16:57 ` Joe Hershberger
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michal Simek @ 2015-05-25  9:37 UTC (permalink / raw
  To: u-boot

NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
Kconfig to ensure that library is also compiled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 lib/Kconfig | 3 +++
 net/Kconfig | 1 +
 2 files changed, 4 insertions(+)

diff --git a/lib/Kconfig b/lib/Kconfig
index 5b6cf3d68df1..3c8de869b1f6 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -44,6 +44,9 @@ config REGEX
 	  regex support to some commands, for example "env grep" and
 	  "setexpr".
 
+config LIB_RAND
+	bool
+
 source lib/rsa/Kconfig
 
 menu "Hashing Support"
diff --git a/net/Kconfig b/net/Kconfig
index 524b7e4da23b..9a9846e18744 100644
--- a/net/Kconfig
+++ b/net/Kconfig
@@ -10,6 +10,7 @@ if NET
 
 config NET_RANDOM_ETHADDR
 	bool "Random ethaddr if unset"
+	select LIB_RAND
 	help
 	  Selecting this will allow the Ethernet interface to function
 	  even when the ethaddr variable for that interface is unset.
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies
  2015-05-25  9:37 [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies Michal Simek
@ 2015-05-25 16:57 ` Joe Hershberger
  2015-05-26 18:35 ` Joe Hershberger
  2015-06-01 14:06 ` Joe Hershberger
  2 siblings, 0 replies; 5+ messages in thread
From: Joe Hershberger @ 2015-05-25 16:57 UTC (permalink / raw
  To: u-boot

Hi Michal,

On Mon, May 25, 2015 at 4:37 AM, Michal Simek <michal.simek@xilinx.com> wrote:
> NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
> Kconfig to ensure that library is also compiled.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---

Acked-by: Joe Hershberger <joe.hershberger@ni.com>

I'll pull this in a few days if Tom doesn't get there first.

Thanks,
-Joe

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies
  2015-05-25  9:37 [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies Michal Simek
  2015-05-25 16:57 ` Joe Hershberger
@ 2015-05-26 18:35 ` Joe Hershberger
  2015-06-01 14:06 ` Joe Hershberger
  2 siblings, 0 replies; 5+ messages in thread
From: Joe Hershberger @ 2015-05-26 18:35 UTC (permalink / raw
  To: u-boot

On Mon, May 25, 2015 at 4:37 AM, Michal Simek <michal.simek@xilinx.com> wrote:
> NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
> Kconfig to ensure that library is also compiled.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---

Applied to u-boot-net, thanks!
-Joe

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies
  2015-05-25  9:37 [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies Michal Simek
  2015-05-25 16:57 ` Joe Hershberger
  2015-05-26 18:35 ` Joe Hershberger
@ 2015-06-01 14:06 ` Joe Hershberger
  2015-06-01 16:21   ` Michal Simek
  2 siblings, 1 reply; 5+ messages in thread
From: Joe Hershberger @ 2015-06-01 14:06 UTC (permalink / raw
  To: u-boot

Hi Michal,

On Mon, May 25, 2015 at 4:37 AM, Michal Simek <michal.simek@xilinx.com> wrote:
> NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
> Kconfig to ensure that library is also compiled.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  lib/Kconfig | 3 +++
>  net/Kconfig | 1 +
>  2 files changed, 4 insertions(+)
>
> diff --git a/lib/Kconfig b/lib/Kconfig
> index 5b6cf3d68df1..3c8de869b1f6 100644
> --- a/lib/Kconfig
> +++ b/lib/Kconfig
> @@ -44,6 +44,9 @@ config REGEX
>           regex support to some commands, for example "env grep" and
>           "setexpr".
>
> +config LIB_RAND
> +       bool
> +
>  source lib/rsa/Kconfig
>
>  menu "Hashing Support"
> diff --git a/net/Kconfig b/net/Kconfig
> index 524b7e4da23b..9a9846e18744 100644
> --- a/net/Kconfig
> +++ b/net/Kconfig
> @@ -10,6 +10,7 @@ if NET
>
>  config NET_RANDOM_ETHADDR
>         bool "Random ethaddr if unset"
> +       select LIB_RAND
>         help
>           Selecting this will allow the Ethernet interface to function
>           even when the ethaddr variable for that interface is unset.

Do you want me to run the moveconfig tool on this? I have a feeling it
will just conflict anyway if not run on top of my other 2 patches for
the defconfigs.

Cheers,
-Joe

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies
  2015-06-01 14:06 ` Joe Hershberger
@ 2015-06-01 16:21   ` Michal Simek
  0 siblings, 0 replies; 5+ messages in thread
From: Michal Simek @ 2015-06-01 16:21 UTC (permalink / raw
  To: u-boot

On 06/01/2015 04:06 PM, Joe Hershberger wrote:
> Hi Michal,
> 
> On Mon, May 25, 2015 at 4:37 AM, Michal Simek <michal.simek@xilinx.com> wrote:
>> NET_RANDOM_ETHADDR depends on lib/rand.c. This patch adds dependency to
>> Kconfig to ensure that library is also compiled.
>>
>> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
>> ---
>>
>>  lib/Kconfig | 3 +++
>>  net/Kconfig | 1 +
>>  2 files changed, 4 insertions(+)
>>
>> diff --git a/lib/Kconfig b/lib/Kconfig
>> index 5b6cf3d68df1..3c8de869b1f6 100644
>> --- a/lib/Kconfig
>> +++ b/lib/Kconfig
>> @@ -44,6 +44,9 @@ config REGEX
>>           regex support to some commands, for example "env grep" and
>>           "setexpr".
>>
>> +config LIB_RAND
>> +       bool
>> +
>>  source lib/rsa/Kconfig
>>
>>  menu "Hashing Support"
>> diff --git a/net/Kconfig b/net/Kconfig
>> index 524b7e4da23b..9a9846e18744 100644
>> --- a/net/Kconfig
>> +++ b/net/Kconfig
>> @@ -10,6 +10,7 @@ if NET
>>
>>  config NET_RANDOM_ETHADDR
>>         bool "Random ethaddr if unset"
>> +       select LIB_RAND
>>         help
>>           Selecting this will allow the Ethernet interface to function
>>           even when the ethaddr variable for that interface is unset.
> 
> Do you want me to run the moveconfig tool on this? I have a feeling it
> will just conflict anyway if not run on top of my other 2 patches for
> the defconfigs.

Definitely feel free to run it yourself.

Thanks,
Michal

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-06-01 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-25  9:37 [U-Boot] [PATCH] net: Fix NET_RANDOM_ETHADDR dependencies Michal Simek
2015-05-25 16:57 ` Joe Hershberger
2015-05-26 18:35 ` Joe Hershberger
2015-06-01 14:06 ` Joe Hershberger
2015-06-01 16:21   ` Michal Simek

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.