Skip to contentSkip to conversation

boot/uboot: remove deprecated network settings option

PATCH New Gustavo Zacarias 2 participants 6 messages Jun 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 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.

---
 Config.in.legacy     |  9 +++++++++
 boot/uboot/Config.in | 46 ----------------------------------------------
 boot/uboot/uboot.mk  |  6 ------
 3 files changed, 9 insertions(+), 52 deletions(-)
Config.in.legacy +9 -0
index 44de941..9b9fff0 100644
@@ -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
boot/uboot/Config.in +0 -46

52 lines not on this page · raw message

boot/uboot/uboot.mk +0 -6
index 410d8d8..14a696a 100644
@@ -131,12 +131,6 @@ define UBOOT_CONFIGURE_CMDS
 	@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
 
Signature · 1 line
2.3.6
#1 lore raw

PATCH 2/3 build: remove deprecated sstrip option

It's been deprecated since the 2014.05 release (a year).

---
 Config.in | 13 -------------
 1 file changed, 13 deletions(-)
Config.in +0 -13
index bdff7df..eaf47dd 100644
@@ -372,19 +372,6 @@ config BR2_STRIP_strip
 	  symbols on the target are needed for native debugging, but
 	  not when remote debugging is used.
 
-config BR2_STRIP_sstrip
-	bool "sstrip"
-	select BR2_PACKAGE_SSTRIP_HOST
-	depends on !BR2_PACKAGE_HOST_ELF2FLT
-	depends on BR2_DEPRECATED_SINCE_2014_05
-	help
-	  Binaries and libraries in the target filesystem will be
-	  stripped using the 'sstrip' command, which strips a little
-	  bit more than the traditional 'strip' command. This allows to
-	  save space, mainly by removing debugging symbols. Debugging
-	  symbols on the target are needed for native debugging, but
-	  not when remote debugging is used.
-
 config BR2_STRIP_none
 	bool "none"
 	help
Signature · 1 line
2.3.6
#3 lore raw

PATCH 3/3 Config.in: remove BR2_DEPRECATED_SINCE_2014_05

In reply to Gustavo Zacarias

The symbol is unused so remove it.

---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)
Config.in +0 -4
index eaf47dd..e10427f 100644
@@ -296,10 +296,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2014_05
-	bool
-	default y
-
 config BR2_DEPRECATED_SINCE_2014_08
 	bool
 	default y
Signature · 1 line
2.3.6
#5 lore raw

PATCH 1/3 boot/uboot: remove deprecated network settings option

In reply to Gustavo Zacarias
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

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.

+++ b/boot/uboot/uboot.mk

boot/uboot/uboot.mk define UBOOT_CONFIGURE_CMDS · line 134

Quoted 10 lines
boot/uboot/uboot.mk +0 -6
@@ -131,12 +131,6 @@ define UBOOT_CONFIGURE_CMDS
 	@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

Current u-boot doesn't have any references to CONFIG_LOAD_SCRIPTS or DATE, so I've simply removed the entire config.h fixup.

Committed with that changed, thanks.

Signature · 1 line
Bye, Peter Korsgaard