Skip to contentSkip to conversation

binutils: not available on avr32

PATCH New Thomas Petazzoni 2 participants 4 messages May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 binutils: not available on avr32

Fixes
http://autobuild.buildroot.org/results/0be38d4a16a7b6322367116a6d0bc285f73b7436/build-end.log.

---
 package/binutils/Config.in |    1 +
 package/oprofile/Config.in |    2 ++
 2 files changed, 3 insertions(+)
package/binutils/Config.in +1 -0
index e068b20..59e9529 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_BINUTILS
 	bool "binutils"
+	depends on !BR2_avr32
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
 	help
package/oprofile/Config.in +2 -0
index 562c910..d7e2065 100644
@@ -2,6 +2,8 @@ config BR2_PACKAGE_OPROFILE
 	bool "oprofile"
 	select BR2_PACKAGE_POPT
 	select BR2_PACKAGE_BINUTILS
+	# binutils for target not available on avr32
+	depends on !BR2_avr32
 	depends on BR2_INSTALL_LIBSTDCPP
 	help
 	  OProfile is a system-wide profiler for Linux systems,
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 gdb: not available on avr32

Fixes
http://autobuild.buildroot.org/results/1c6cfa7f069e2b7d8a7dacf76fbf95b7909fb37a/build-end.log.

---
 toolchain/gdb/Config.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/gdb/Config.in +1 -1
index c9c54b8..fd6956b 100644
@@ -5,7 +5,7 @@ config BR2_PACKAGE_GDB
 	select BR2_PACKAGE_NCURSES
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	depends on !BR2_sh && !BR2_sh64
+	depends on !BR2_sh && !BR2_sh64 && !BR2_avr32
 	help
 	    Build the full gdb debugger to run on the target.
 
Signature · 1 line
1.7.9.5
#3 lore raw

PATCH 1/2 binutils: not available on avr32

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> Fixes
Thomas> http://autobuild.buildroot.org/results/0be38d4a16a7b6322367116a6d0bc285f73b7436/build-end.log.

This is actually only for avr32 using external toolchain, right?

Another way to fix it would be simply to default to 2.18-avr32-1.0.1 for avr32 in binutils.mk:

ifeq ($(BINUTILS_VERSION),)
BINUTILS_VERSION = 2.21
endif

Thomas> Signed-off-by: Thomas Petazzoni <[email protected]> Thomas> ---

 Thomas>  package/binutils/Config.in |    1 +
 Thomas>  package/oprofile/Config.in |    2 ++

Thomas> 2 files changed, 3 insertions(+)

Thomas> diff --git a/package/binutils/Config.in b/package/binutils/Config.in Thomas> index e068b20..59e9529 100644
Thomas> --- a/package/binutils/Config.in
Thomas> +++ b/package/binutils/Config.in
Thomas> @@ -1,5 +1,6 @@
Thomas> config BR2_PACKAGE_BINUTILS
Thomas> bool "binutils"
Thomas> + depends on !BR2_avr32

 Thomas>  	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
 Thomas>  	select BR2_PACKAGE_LIBINTL if BR2_NEEDS_GETTEXT_IF_LOCALE
 Thomas>  	help
 Thomas> diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
 Thomas> index 562c910..d7e2065 100644
 Thomas> --- a/package/oprofile/Config.in
 Thomas> +++ b/package/oprofile/Config.in
 Thomas> @@ -2,6 +2,8 @@ config BR2_PACKAGE_OPROFILE
 Thomas>  	bool "oprofile"
 Thomas>  	select BR2_PACKAGE_POPT
 Thomas>  	select BR2_PACKAGE_BINUTILS
 Thomas> +	# binutils for target not available on avr32
 Thomas> +	depends on !BR2_avr32
 Thomas>  	depends on BR2_INSTALL_LIBSTDCPP
 Thomas>  	help
 Thomas>  	  OProfile is a system-wide profiler for Linux systems,

Thomas> --
Thomas> 1.7.9.5

Thomas> _______________________________________________ Thomas> buildroot mailing list
Thomas> buildroot at busybox.net
Thomas> http://lists.busybox.net/mailman/listinfo/buildroot

Signature · 1 line
Bye, Peter Korsgaard