summaryrefslogtreecommitdiffstats
path: root/commands/Kconfig
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2015-06-03 11:19:02 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2015-06-05 13:32:39 +0200
commite9bd26c7a7167b5e36696373ef8381a2caaff4a6 (patch)
tree421b58ffa1705d7e392c2706f9fab8b6bca3c597 /commands/Kconfig
parentf6c5578eaf42eab8c6723ee9a25aa38dab651ff9 (diff)
downloadbarebox-e9bd26c7a7167b5e36696373ef8381a2caaff4a6.tar.gz
barebox-e9bd26c7a7167b5e36696373ef8381a2caaff4a6.tar.xz
net: dhcp: Split dhcp funcionality & add dhcp command
dhcp/bootp was bound to the command functionality. This patch splits the dhcp command. We are now able to use bootp without a shell. This patch adds also a check for environment variables and globalvar. So only when ENVIRONMENT_VARIABLES and GLOBALVAR is set, all received dhcp data will be stored. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r--commands/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig
index 25c77a85c5..bb6674e6c2 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -1183,6 +1183,7 @@ menu "Network"
config CMD_DHCP
bool
+ select NET_DHCP
prompt "dhcp"
help
DHCP client to obtain IP or boot params