[Buildroot] [git commit] boot/uboot: remove deprecated network settings option
Peter Korsgaard
peter at korsgaard.com
Tue Jun 2 20:57:16 UTC 2015
commit: http://git.buildroot.net/buildroot/commit/?id=16b8e813c810fde2fe3655c696edf1e76a7d27ba
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
It's been deprecated since the 2014.05 release, so a year has passed.
Add legacy info as well to raise a warning when it's used.
[Peter: Remove entire config.h fixup handling]
Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
Config.in.legacy | 9 +++++++++
boot/uboot/Config.in | 46 ----------------------------------------------
boot/uboot/uboot.mk | 13 -------------
3 files changed, 9 insertions(+), 59 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index 44de941..9b9fff0 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -105,6 +105,15 @@ comment "----------------------------------------------------"
endif
###############################################################################
+comment "Legacy options removed in 2015.08"
+
+config BR2_TARGET_UBOOT_NETWORK
+ bool "U-Boot custom network settings removed"
+ select BR2_LEGACY
+ help
+ U-Boot's custom network settings options have been removed.
+
+###############################################################################
comment "Legacy options removed in 2015.05"
config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in
index 4f01499..e884cc0 100644
--- a/boot/uboot/Config.in
+++ b/boot/uboot/Config.in
@@ -192,52 +192,6 @@ config BR2_TARGET_UBOOT_OMAP_IFT_CONFIG
endif
-menuconfig BR2_TARGET_UBOOT_NETWORK
- bool "Custom Network Settings"
- depends on BR2_DEPRECATED_SINCE_2014_05
- help
- Custom network settings for U-boot
-
-if BR2_TARGET_UBOOT_NETWORK
-
-config BR2_TARGET_UBOOT_SERVERIP
- string "server ip"
- default "10.175.196.221"
- help
- TFTP server ip address
-
-config BR2_TARGET_UBOOT_IPADDR
- string "ip address"
- default "10.175.196.18"
- help
- Target ip address
-
-config BR2_TARGET_UBOOT_GATEWAY
- string "gateway ip"
- default "10.175.196.1"
- help
- Gateway ip address
-
-config BR2_TARGET_UBOOT_NETMASK
- string "netmask"
- default "255.255.255.0"
- help
- Network Mask
-
-config BR2_TARGET_UBOOT_ETHADDR
- string "ethernet address"
- default "04:25:fe:ed:00:18"
- help
- Target MAC address for the ethernet interface.
- This should be changed for production units
-
-config BR2_TARGET_UBOOT_ETH1ADDR
- string "ethernet 2 address"
- help
- Target MAC address for the second ethernet interface.
-
-endif # BR2_TARGET_UBOOT_NETWORK
-
config BR2_TARGET_UBOOT_SPL
bool "Install U-Boot SPL binary image"
depends on !BR2_TARGET_XLOADER
diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
index 410d8d8..8c10c61 100644
--- a/boot/uboot/uboot.mk
+++ b/boot/uboot/uboot.mk
@@ -125,19 +125,6 @@ define UBOOT_CONFIGURE_CMDS
$(TARGET_CONFIGURE_OPTS) \
$(MAKE) -C $(@D) $(UBOOT_MAKE_OPTS) \
$(UBOOT_BOARD_NAME)_config
- @echo >> $(@D)/include/config.h
- @echo "/* Add a wrapper around the values Buildroot sets. */" >> $(@D)/include/config.h
- @echo "#ifndef __BR2_ADDED_CONFIG_H" >> $(@D)/include/config.h
- @echo "#define __BR2_ADDED_CONFIG_H" >> $(@D)/include/config.h
- $(call insert_define,DATE,$(DATE))
- $(call insert_define,CONFIG_LOAD_SCRIPTS,1)
- $(call insert_define,CONFIG_IPADDR,$(BR2_TARGET_UBOOT_IPADDR))
- $(call insert_define,CONFIG_GATEWAYIP,$(BR2_TARGET_UBOOT_GATEWAY))
- $(call insert_define,CONFIG_NETMASK,$(BR2_TARGET_UBOOT_NETMASK))
- $(call insert_define,CONFIG_SERVERIP,$(BR2_TARGET_UBOOT_SERVERIP))
- $(call insert_define,CONFIG_ETHADDR,$(BR2_TARGET_UBOOT_ETHADDR))
- $(call insert_define,CONFIG_ETH1ADDR,$(BR2_TARGET_UBOOT_ETH1ADDR))
- @echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(@D)/include/config.h
endef
define UBOOT_BUILD_CMDS
More information about the buildroot
mailing list