Commit 75720db3 authored by Chris Zankel's avatar Chris Zankel Committed by Peter Korsgaard
Browse files

xtensa: add support for the Xtensa architecture



The Xtensa architecture had been removed because it required special
handling and depended on additional directories and files that became
obsolete over time. This change is more aligned to other architectures.

[Thomas: rebased on top of the "arch: improve definition of gcc mtune,
mcpu, etc." patch].

Signed-off-by: default avatarChris Zankel <chris@zankel.net>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 86f6987b
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -145,6 +145,13 @@ config BR2_x86_64
	  architecture compatible microprocessor).
	  http://en.wikipedia.org/wiki/X86_64

config BR2_xtensa
	bool "Xtensa"
	help
	  Xtensa is a Tensilica processor IP architecture.
	  http://en.wikipedia.org/wiki/Xtensa
	  http://www.tensilica.com/

endchoice

# The following string values are defined by the individual
@@ -210,3 +217,7 @@ endif
if BR2_i386 || BR2_x86_64
source "arch/Config.in.x86"
endif

if BR2_xtensa
source "arch/Config.in.xtensa"
endif

arch/Config.in.xtensa

0 → 100644
+2 −0
Original line number Diff line number Diff line
config BR2_ARCH
	default "xtensa"	if BR2_xtensa
+2 −1
Original line number Diff line number Diff line
@@ -152,7 +152,8 @@ config BR2_LINUX_KERNEL_BZIMAGE

config BR2_LINUX_KERNEL_ZIMAGE
	bool "zImage"
	depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_sparc || BR2_sh || BR2_sh64
	depends on BR2_arm || BR2_armeb || BR2_powerpc || BR2_sparc || \
		   BR2_sh || BR2_sh64 || BR2_xtensa

config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
	bool "zImage with appended DT"
+1 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LTRACE
	bool "ltrace"
	depends on !(BR2_avr32 || BR2_mips || BR2_mipsel || BR2_sh || BR2_sh64)
	depends on !BR2_xtensa
	select BR2_PACKAGE_LIBELF
	help
	  Debugging program which runs a specified command until it exits.
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ config BR2_TOOLCHAIN_EXTERNAL

config BR2_TOOLCHAIN_CTNG
	bool "Crosstool-NG toolchain"
	depends on !BR2_microblaze && !BR2_aarch64
	depends on !BR2_microblaze && !BR2_aarch64 && !BR2_xtensa
	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
	select BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED
	help
Loading