]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
binutils: enable as target package for aarch64
authorErico Nunes <nunes.erico@gmail.com>
Sun, 29 May 2016 03:33:35 +0000 (00:33 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 8 Jun 2016 21:55:05 +0000 (23:55 +0200)
binutils got disabled as a target package for aarch64 back in Buildroot
2012.11 (commit 660d16f4).
The default version 2.21.1 at the time didn't really support aarch64, as
shown by the autobuilder error reference in that commit.

binutils has now had support for aarch64 since 2.23, but was never
re-enabled for aarch64.

All of the binutils versions currently supported by Buildroot (oldest
being 2.24) support aarch64, so we can now enable it without any
restrictions.

This same patch also touches the dropwatch, lightning and oprofile
packages which all select binutils and had the 'depends on !aarch64' to
keep Kconfig consistent. They are now re-enabled for aarch64 as well.
They are changed in this same patch so that Kconfig is kept consistent
and doesn't end up having them disabled in a commit which only has the
binutils change applied.
lightning has other explicit arch dependencies so it is not actually yet
available in aarch64, but at least the dependency on !aarch64 because of
binutils is not needed anymore.

Everything has been build tested with Buildroot and external toolchains.
binutils and dropwatch work fine in a qemu target. oprofile doesn't seem
to be supported in the qemu aarch64 processor but builds fine and seems
to have some level of aarch64 support in the source, so there doesn't
seem to be a reason to keep it disabled in Kconfig.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/Config.in
package/dropwatch/Config.in
package/lightning/Config.in
package/oprofile/Config.in

index 64d0a09c10a638660e83fdda2fd03414b333e567..fdfdfe9052fac865940633094151423f7779018c 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_BINUTILS
        bool "binutils"
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
-       depends on !BR2_aarch64 && !BR2_nios2
+       depends on !BR2_nios2
        depends on BR2_USE_WCHAR
        help
          Install binutils on the target
@@ -22,5 +22,5 @@ config BR2_PACKAGE_BINUTILS_TARGET
 endif
 
 comment "binutils needs a toolchain w/ wchar"
-       depends on !BR2_aarch64 && !BR2_nios2
+       depends on !BR2_nios2
        depends on !BR2_USE_WCHAR
index d331e5e816bb217983c47ce6ca52db98d088d054..6f04c85dd6607dc0ce3d8d89d4437bd6a6f695f7 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_DROPWATCH
        bool "dropwatch"
        select BR2_PACKAGE_BINUTILS
-       depends on !BR2_aarch64 && !BR2_nios2 # binutils
+       depends on !BR2_nios2 # binutils
        depends on BR2_USE_WCHAR # binutils
        select BR2_PACKAGE_READLINE
        select BR2_PACKAGE_LIBNL
@@ -13,5 +13,5 @@ config BR2_PACKAGE_DROPWATCH
          https://fedorahosted.org/dropwatch/
 
 comment "dropwatch needs a toolchain w/ threads, wchar"
-       depends on !BR2_aarch64 && !BR2_nios2
+       depends on !BR2_nios2
        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
index 6750114be2c4653973d660ed99fc2d3eff27dcfc..d85c964e189b0437ed76fe91c8e4613e3a270037 100644 (file)
@@ -20,13 +20,13 @@ config BR2_PACKAGE_LIGHTNING_DISASSEMBLER
        bool "enable disassembler"
        select BR2_PACKAGE_BINUTILS
        select BR2_PACKAGE_ZLIB
-       depends on !BR2_aarch64 && !BR2_nios2 # binutils
+       depends on !BR2_nios2 # binutils
        depends on BR2_USE_WCHAR # binutils
        help
          Enable the GNU lightning disassembler.
 
 comment "lightning disassembler needs a toolchain w/ wchar"
-       depends on !BR2_aarch64 && !BR2_nios2
+       depends on !BR2_nios2
        depends on !BR2_USE_WCHAR
 
 endif
index 7a88e4a87ae79466054d0e59b8f334c1661a3679..9014d9fcda0e74f41ade28c283da546b2618947d 100644 (file)
@@ -5,7 +5,7 @@ config BR2_PACKAGE_OPROFILE
        select BR2_PACKAGE_BINUTILS
        select BR2_PACKAGE_LIBPFM4 if BR2_powerpc
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on !BR2_aarch64 && !BR2_nios2 # binutils
+       depends on !BR2_nios2 # binutils
        depends on BR2_USE_WCHAR # binutils
        # no memory barrier functions
        depends on !BR2_xtensa && !BR2_microblaze
@@ -29,7 +29,7 @@ config BR2_PACKAGE_OPROFILE
 
 comment "oprofile needs a toolchain w/ C++, wchar"
        depends on BR2_USE_MMU
-       depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa && !BR2_microblaze
+       depends on !BR2_nios2 && !BR2_xtensa && !BR2_microblaze
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 
 comment "oprofile needs a toolchain w/ NPTL on PPC"