From: Gustavo Zacarias Date: Tue, 2 Jun 2015 17:52:12 +0000 (-0300) Subject: boot/uboot: remove deprecated network settings option X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16b8e813c810fde2fe3655c696edf1e76a7d27ba;p=buildroot.git boot/uboot: remove deprecated network settings option 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 Signed-off-by: Peter Korsgaard --- diff --git a/Config.in.legacy b/Config.in.legacy index 44de941f8e..9b9fff021e 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -104,6 +104,15 @@ comment "build, or run, in unpredictable ways. " 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" diff --git a/boot/uboot/Config.in b/boot/uboot/Config.in index 4f014995cd..e884cc0163 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 410d8d8a63..8c10c6123a 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