net: NET_IPv4 should be selected when NET_LWIP is enabled
authorEunBong Song <eunb.song@samsung.com>
Wed, 5 Apr 2017 01:18:18 +0000 (10:18 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:08 +0000 (12:02 +0900)
When NET_LWIP is enabled, it support basic IPv4 functions.
So, it does not make sense can disable NET_IPv4 even if NET_LWIP is enabled.
This patch removes NET_IPv4 Kconfig menu and to be selected when NET_LWIP
is enabled.

Change-Id: Ic7763eaf335b0acba9346b3d598adbb6bb0e45bb
Signed-off-by: EunBong Song <eunb.song@samsung.com>
os/net/Kconfig

index 6f6a8d1..9d29d97 100644 (file)
@@ -26,6 +26,7 @@ choice
 
 config NET_LWIP
        bool "LwIP"
+       select NET_IPv4
 
 endchoice
 
@@ -111,16 +112,8 @@ config NET_ETHERNET
 
 endmenu # Data link support
 
-menu "Internet Protocol Selection"
-
 config NET_IPv4
-       bool "IPv4"
-       depends on NET_LWIP
-       default y
-       ---help---
-               Build in support for IPv4.
-
-endmenu # Internet Protocol Selection
+       bool
 
 source net/netdev/Kconfig
 source net/route/Kconfig