Skip to contentSkip to conversation

Pull request for branch for-2010.11/remove-deprecated-arch

GIT PULL New Thomas Petazzoni 2 participants 4 messages Sep 1, 2010 – Sep 30, 2010 Journalling flash file system V2 (JFFS2)

lore
Share & tools
lore
#0 lore raw

The following changes since commit 4973632207fd496199298191ada01c8c8ec2bee7:
Yann E. MORIN (1):
packages/atk: fix Makefile

are available in the git repository at:

git://git.busybox.net/~tpetazzoni/git/buildroot for-2010.11/remove-deprecated-arch

Thomas Petazzoni (2):
Remove architectures marked as deprecated Remove code specific to removed architectures

 fs/jffs2/Config.in            |    4 +-
 package/liboil/liboil.mk      |    3 -
 package/ltrace/Config.in      |    2 +-
 package/openssl/openssl.mk    |    3 -
 target/Config.in.arch         |  130 +++--------------------------------------
 toolchain/gcc/Config.in       |    2 +-
 toolchain/toolchain-common.in |    1 -
 7 files changed, 13 insertions(+), 132 deletions(-)

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/2 Remove architectures marked as deprecated

The Alpha, CRIS, IA64 and Sparc64 architectures have been marked as deprecated during the previous release cycle. They are not widely used in embedded systems and/or no longer supported by their manufacturers and/or not properly supported in Buildroot.

---
 target/Config.in.arch |  130 +++---------------------------------------------
 1 files changed, 9 insertions(+), 121 deletions(-)
target/Config.in.arch +9 -121
index ce64068..6ef4a9a 100644
@@ -7,12 +7,6 @@ choice
 	help
 	  Select the target architecture family to build for.
 
-config BR2_alpha
-	bool "alpha"
-	# Alpha does not exist anymore and has never been used in
-	# embedded systems, so we'll remove support for it.
-	depends on BR2_DEPRECATED
-	depends on BROKEN # no threads, shared libs, gcc psignal compile errors
 config BR2_arm
 	bool "arm"
 config BR2_armeb
@@ -20,19 +14,6 @@ config BR2_armeb
 config BR2_avr32
 	bool "avr32"
 	select BR2_SOFT_FLOAT
-config BR2_cris
-	bool "cris"
-	# The CRIS architecture from Axis has been deprecated by the
-	# manufacturer. No units are sold after July 2010, and support
-	# will end in July 2011. Moreover, CRIS support in Buildroot
-	# has not been updated since a long time.
-	depends on BR2_DEPRECATED
-config BR2_ia64
-	bool "ia64"
-	# IA64 almost does not exist anymore and has never been used
-	# in embedded systems, so we'll remove support for it.
-	depends on BR2_DEPRECATED
-	depends on BROKEN # uclibc linker errors
 config BR2_i386
 	bool "i386"
 config BR2_m68k
@@ -50,14 +31,6 @@ config BR2_sh64
 	bool "superh64"
 config BR2_sparc
 	bool "sparc"
-config BR2_sparc64
-	# Sparc64 isn't really used in embedded systems, and in the
-	# cases where it is used, Linux doesn't seem to be common, and
-	# as of today we don't have a maintainer in Buildroot who
-	# wants to take care of the sparc support.
-	depends on BR2_DEPRECATED
-	bool "sparc64"
-	select BR2_ARCH_IS_64
 config BR2_x86_64
 	bool "x86_64"
 	select BR2_ARCH_IS_64
@@ -317,27 +290,6 @@ endchoice
 
 choice
 	prompt "Target Architecture Variant"
-	depends on BR2_alpha
-	default BR2_alpha_21064
-	help
-	  Specific CPU variant to use
-
-config BR2_alpha_21064
-	bool "21064"
-config BR2_alpha_21164
-	bool "21164"
-config BR2_alpha_21164a
-	bool "21164a"
-config BR2_alpha_21164pc
-	bool "21164pc"
-config BR2_alpha_21264
-	bool "21264"
-config BR2_alpha_21264a
-	bool "21264a"
-endchoice
-
-choice
-	prompt "Target Architecture Variant"
 	depends on BR2_sparc
 	default BR2_sparc_v7
 	help
@@ -381,48 +333,6 @@ endchoice
 
 choice
 	prompt "Target Architecture Variant"
-	depends on BR2_sparc64
-	default BR2_sparc64_v9
-	help
-	  Specific CPU variant to use
-
-config BR2_sparc64_v9
-	bool "v9"
-config BR2_sparc64_v9a
-	bool "v9a"
-config BR2_sparc64_v9b
-	bool "v9b"
-config BR2_sparc64_ultrasparc
-	bool "ultrasparc"
-config BR2_sparc64_ultrasparc3
-	bool "ultrasparc3"
-config BR2_sparc64_niagara
-	bool "niagara"
-endchoice
-
-config BR2_SPARC_TYPE
-	string
-	default V7	if BR2_sparc_v7 || BR2_sparc_cypress || BR2_sparc_sparclite || BR2_sparc_f930 || BR2_sparc_f934 || BR2_sparc_sparclite86x || BR2_sparc_sparclet || BR2_sparc_tsc701
-	default V8	if BR2_sparc_v8 || BR2_sparc_supersparc || BR2_sparc_hypersparc
-	default V9	if BR2_sparc_v9 || BR2_sparc_ultrasparc || BR2_sparc_ultrasparc3 || BR2_sparc_niagara || BR2_sparc64_v9 || BR2_sparc64_ultrasparc || BR2_sparc64_ultrasparc3 || BR2_sparc64_niagara
-	default V9	if BR2_sparc_v9a || BR2_sparc64_v9a
-	default V9B	if BR2_sparc_v9b || BR2_sparc64_v9b
-
-choice
-	prompt "Target Architecture Variant"
-	depends on BR2_ia64
-	default BR2_ia64_itanium2
-	help
-	  Specific CPU variant to use
-
-config BR2_ia64_itanium1
-	bool "itanium 1"
-config BR2_ia64_itanium2
-	bool "itanium 2"
-endchoice
-
-choice
-	prompt "Target Architecture Variant"
 	depends on BR2_xtensa
 	default BR2_xtensa_dc232b
 	help
@@ -524,11 +434,9 @@ endchoice
 
 config BR2_ARCH
 	string
-	default "alpha"		if BR2_alpha
 	default "arm"		if BR2_arm
 	default "armeb"		if BR2_armeb
 	default "avr32"		if BR2_avr32
-	default "cris"		if BR2_cris
 	default "i386"		if BR2_x86_i386
 	default "i486"		if BR2_x86_i486
 	default "i586"		if BR2_x86_i586
@@ -542,7 +450,6 @@ config BR2_ARCH
 	default "i686"		if BR2_x86_pentiumpro
 	default "i686"		if BR2_x86_nocona
 	default "i686"		if BR2_x86_core2
-	default "ia64"		if BR2_ia64
 	default "m68k"		if BR2_m68k
 	default "mips"		if BR2_mips
 	default "mipsel"	if BR2_mipsel
@@ -555,7 +462,6 @@ config BR2_ARCH
 	default "sh4eb"		if BR2_sh4eb
 	default "sh64"		if BR2_sh64
 	default "sparc"		if BR2_sparc
-	default "sparc64"	if BR2_sparc64
 	default "x86_64"	if BR2_x86_64
 	default "x86_64"	if BR2_x86_64_generic
 	default "x86_64"	if BR2_x86_64_nocona
@@ -568,11 +474,11 @@ config BR2_ARCH
 
 config BR2_ENDIAN
 	string
-	default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \
+	default "LITTLE" if BR2_arm || BR2_i386 || BR2_mipsel || \
 			    BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_sh64
-	default "BIG"    if BR2_alpha || BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
+	default "BIG"    if BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
 			    BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
-			    BR2_sh3eb || BR2_sh4eb || BR2_sparc || BR2_sparc64
+			    BR2_sh3eb || BR2_sh4eb || BR2_sparc
 
 config BR2_GCC_TARGET_TUNE
 	string
@@ -625,19 +531,6 @@ config BR2_GCC_TARGET_TUNE
 	default strongarm1100	if BR2_sa1100
 	default xscale		if BR2_xscale
 	default iwmmxt		if BR2_iwmmxt
-	default v0		if BR2_cris_unknown
-	default v10		if BR2_cris_generic
-	default v3		if BR2_cris_etrax_4
-	default v8		if BR2_cris_etrax_100
-	default v10		if BR2_cris_etrax_100lx
-	default ev4		if BR2_alpha_21064
-	default ev5		if BR2_alpha_21164
-	default ev56		if BR2_alpha_21164a
-	default pca56		if BR2_alpha_21164pc
-	default ev6		if BR2_alpha_21264
-	default ev67		if BR2_alpha_21264a
-#	default itanium		if BR2_ia64_itanium1
-#	default itanium2	if BR2_ia64_itanium2
 	default 68000		if BR2_m68k_68000
 	default 68010		if BR2_m68k_68010
 	default 68020		if BR2_m68k_68020
@@ -692,12 +585,12 @@ config BR2_GCC_TARGET_TUNE
 	default sparclite86x	if BR2_sparc_sparclite86x
 	default sparclet	if BR2_sparc_sparclet
 	default tsc701		if BR2_sparc_tsc701
-	default v9		if BR2_sparc_v9 || BR2_sparc64_v9
-	default v9		if BR2_sparc_v9a || BR2_sparc64_v9a
-	default v9		if BR2_sparc_v9b || BR2_sparc64_v9b
-	default ultrasparc	if BR2_sparc_ultrasparc || BR2_sparc64_ultrasparc
-	default ultrasparc3	if BR2_sparc_ultrasparc3 || BR2_sparc64_ultrasparc3
-	default niagara		if BR2_sparc_niagara || BR2_sparc64_niagara
+	default v9		if BR2_sparc_v9
+	default v9		if BR2_sparc_v9a
+	default v9		if BR2_sparc_v9b
+	default ultrasparc	if BR2_sparc_ultrasparc
+	default ultrasparc3	if BR2_sparc_ultrasparc3
+	default niagara		if BR2_sparc_niagara
 
 config BR2_GCC_TARGET_ARCH
 	string
@@ -741,11 +634,6 @@ config BR2_GCC_TARGET_ARCH
 	default armv4		if BR2_sa1100
 	default armv5te		if BR2_xscale
 	default iwmmxt		if BR2_iwmmxt
-	default v0		if BR2_cris_unknown
-	default v10		if BR2_cris_generic
-	default v3		if BR2_cris_etrax_4
-	default v8		if BR2_cris_etrax_100
-	default v10		if BR2_cris_etrax_100lx
 	default 68000		if BR2_m68k_68000
 	default 68010		if BR2_m68k_68010
 	default 68020		if BR2_m68k_68020
Signature · 1 line
1.7.0.4
#2 lore raw

PATCH 2/2 Remove code specific to removed architectures

In reply to Thomas Petazzoni
---
 fs/jffs2/Config.in            |    4 ++--
 package/liboil/liboil.mk      |    3 ---
 package/ltrace/Config.in      |    2 +-
 package/openssl/openssl.mk    |    3 ---
 toolchain/gcc/Config.in       |    2 +-
 toolchain/toolchain-common.in |    1 -
 6 files changed, 4 insertions(+), 11 deletions(-)
fs/jffs2/Config.in +2 -2
index b787ec9..de13768 100644
@@ -95,10 +95,10 @@ config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
 
 choice
 	prompt "Endianess"
-	default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_alpha || BR2_armeb || \
+	default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_armeb || \
 			BR2_avr32 || BR2_m68k || BR2_mips || \
 			BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
-			BR2_sh3eb || BR2_sh4eb || BR2_sparc || BR2_sparc64
+			BR2_sh3eb || BR2_sh4eb || BR2_sparc
 
 config BR2_TARGET_ROOTFS_JFFS2_LE
 	bool "little-endian"
package/liboil/liboil.mk +0 -3
index 1bb412f..44017be 100644
@@ -16,9 +16,6 @@ LIBOIL_INSTALL_TARGET = YES
 ifeq ($(BR2_avr32),y)
 LIBOIL_CONF_ENV = as_cv_unaligned_access=no
 endif
-ifeq ($(BR2_cris),y)
-LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
-endif
 ifeq ($(BR2_x86_64),y)
 LIBOIL_CONF_ENV = as_cv_unaligned_access=yes
 endif
package/ltrace/Config.in +1 -1
index 10a0e0a..9e71d82 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LTRACE
 	bool "ltrace"
-	depends on !(BR2_avr32 || BR2_cris || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64 || BR2_xtensa)
+	depends on !(BR2_avr32 || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64 || BR2_xtensa)
 	select BR2_PACKAGE_LIBELF
 	help
 	  Debugging program which runs a specified command until it exits.
package/openssl/openssl.mk +0 -3
index edbfe8b..22b14f2 100644
@@ -11,9 +11,6 @@ OPENSSL_DEPENDENCIES = zlib
 OPENSSL_TARGET_ARCH=generic32
 
 # Some architectures are optimized in OpenSSL
-ifeq ($(ARCH),ia64)
-OPENSSL_TARGET_ARCH=ia64
-endif
 ifeq ($(ARCH),powerpc)
 OPENSSL_TARGET_ARCH=ppc
 endif
toolchain/gcc/Config.in +1 -1
index 70d8de9..760bb98 100644
@@ -93,7 +93,7 @@ config BR2_GCC_SHARED_LIBGCC
 	bool "Build/install a shared libgcc?"
 	depends on !BR2_PREFER_STATIC_LIB
 	default y
-	depends on !BR2_sparc && !BR2_sparc64
+	depends on !BR2_sparc
 	help
 	  Build/install a shared libgcc library
 
toolchain/toolchain-common.in +0 -1
index ea06ace..f67c30a 100644
@@ -9,7 +9,6 @@ comment "Common Toolchain Options"
 
 config BR2_LARGEFILE
 	bool "Enable large file (files > 2 GB) support?"
-	depends on !BR2_cris
 	help
 	  If you are building your own toolchain and you want to 
 	  support files larger than 2GB then enable this option.
Signature · 1 line
1.7.0.4
#3 lore raw
In reply to Thomas Petazzoni
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> The following changes since commit 4973632207fd496199298191ada01c8c8ec2bee7:
Thomas> Yann E. MORIN (1):
Thomas> packages/atk: fix Makefile

Thomas> are available in the git repository at:

Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot for-2010.11/remove-deprecated-arch

Pulled and pushed, thanks - And sorry for the slow response.

Signature · 1 line
Bye, Peter Korsgaard