mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
ARM binutils: update to 2.26.1
Needs to be in sync with native binutils.
This commit is contained in:
@@ -1,17 +1,35 @@
|
||||
SUMMARY="Assembler, linker and binary tools for ARM microcontrollers"
|
||||
DESCRIPTION="The GNU Binutils are a collection of binary tools.
|
||||
|
||||
The main ones are:
|
||||
- ld - the GNU linker.
|
||||
- as - the GNU assembler.
|
||||
|
||||
But they also include:
|
||||
- addr2line - converts addresses into filenames and line numbers.
|
||||
- ar - a utility for creating, modifying and extracting of archives.
|
||||
- c++filt - filter to demangle encoded C++ symbols.
|
||||
- nm - lists symbols from object files.
|
||||
- objcopy - copys and translates object files.
|
||||
- objdump - displays information from object files.
|
||||
- ranlib - generates an index to the contents of an archive.
|
||||
- readelf - displays information from any ELF format object file.
|
||||
- size - lists the section sizes of an object or archive file.
|
||||
- strings - lists printable strings from files.
|
||||
- strip - discards symbols.
|
||||
|
||||
The tools of this package can be used for cross-builds to \
|
||||
$effectiveTargetMachineTriple."
|
||||
HOMEPAGE="http://www.gnu.org/software/binutils"
|
||||
|
||||
srcGitRev="c20a732df8f8b6d0f32c872817f3a0498a5c4761"
|
||||
COPYRIGHT="1988-2016 Free Software Foundation, Inc."
|
||||
LICENSE="GNU GPL v3
|
||||
GNU LGPL v3"
|
||||
REVISION="1"
|
||||
srcGitRev="68e96393c7be88bc0e577404869a07ad3c0b48b3"
|
||||
SOURCE_URI="https://github.com/haiku/buildtools/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="6d3b677cd8ef777bf6fb3186a15b5122e46345595a996370325c758b3d8a4ab6"
|
||||
CHECKSUM_SHA256="5f14f68a76035a04d15b1a3e9ba5bbd990b1b380b110b93cb33355142dca8f9c"
|
||||
SOURCE_DIR="buildtools-$srcGitRev/binutils"
|
||||
SOURCE_FILENAME="binutils-$portVersion.tar.gz"
|
||||
REVISION="6"
|
||||
LICENSE="
|
||||
GNU GPL v2
|
||||
GNU LGPL v2
|
||||
"
|
||||
COPYRIGHT="1988-2013 Free Software Foundation, Inc."
|
||||
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64 arm"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
@@ -37,19 +55,21 @@ PROVIDES="
|
||||
cmd:${targetU}_size$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
cmd:${targetU}_strings$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
cmd:${targetU}_strip$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
lib:${targetU}_libbfd_2.24$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
lib:${targetU}_libopcodes_2.24$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
lib:${targetU}_libbfd_2.26.1$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
lib:${targetU}_libopcodes_2.26.1$secondaryArchSuffix = $portVersion compat >= 2.23
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbfd_2.26.1$secondaryArchSuffix
|
||||
lib:libopcodes_2.26.1$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:find
|
||||
cmd:xargs
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:find
|
||||
@@ -64,7 +84,6 @@ BUILD_PREREQUIRES="
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
SOURCE_DIR="buildtools-$srcGitRev/binutils"
|
||||
BUILD_PACKAGE_ACTIVATION_PHASE=INSTALL
|
||||
|
||||
sourceDir=$(pwd)
|
||||
@@ -79,6 +98,9 @@ BUILD()
|
||||
# Touch all *.info files, as newer texinfos don't like their format
|
||||
(cd $sourceDir; find . -name \*.info | xargs touch)
|
||||
|
||||
(cd $sourceDir; find . -name \*.y | sed 's/.y$/.c/g' | xargs touch)
|
||||
(cd $sourceDir; find . -name \*.y | sed 's/.y$/.h/g' | xargs touch)
|
||||
|
||||
mkdir -p $objectsDir
|
||||
cd $objectsDir
|
||||
|
||||
@@ -86,9 +108,10 @@ BUILD()
|
||||
--exec-prefix=$installDir \
|
||||
--includedir=$includeDir/binutils \
|
||||
--docdir=$docDir --with-sysroot=$installDir \
|
||||
--enable-deterministic-archives --enable-shared=yes \
|
||||
--disable-nls --target=${targetArch}
|
||||
|
||||
make $jobArgs
|
||||
make $jobArgs LEXLIB=
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
@@ -126,22 +149,3 @@ INSTALL()
|
||||
rm -f man1/$cmd.1
|
||||
done
|
||||
}
|
||||
|
||||
DESCRIPTION="
|
||||
The GNU Binutils are a collection of binary tools. The main ones are:
|
||||
- ld - the GNU linker.
|
||||
- as - the GNU assembler.
|
||||
But they also include:
|
||||
- addr2line - Converts addresses into filenames and line numbers.
|
||||
- ar - A utility for creating, modifying and extracting from archives.
|
||||
- c++filt - Filter to demangle encoded C++ symbols.
|
||||
- nm - Lists symbols from object files.
|
||||
- objcopy - Copys and translates object files.
|
||||
- objdump - Displays information from object files.
|
||||
- ranlib - Generates an index to the contents of an archive.
|
||||
- readelf - Displays information from any ELF format object file.
|
||||
- size - Lists the section sizes of an object or archive file.
|
||||
- strings - Lists printable strings from files.
|
||||
- strip - Discards symbols.
|
||||
The tools of this package can be used for ARM processor targets.
|
||||
"
|
||||
Reference in New Issue
Block a user