summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-28 06:48:43 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-28 06:48:43 -0700
commit92c695a14f6a5a24b177e89624c13d7dbcbf9e1f (patch)
tree955677b4a841c1623086b58f20ec5afbc0758205 /src-release.sh
parentsim: avr: convert to nrun.o (diff)
downloadbinutils-gdb-92c695a14f6a5a24b177e89624c13d7dbcbf9e1f.tar.gz
binutils-gdb-92c695a14f6a5a24b177e89624c13d7dbcbf9e1f.tar.bz2
binutils-gdb-92c695a14f6a5a24b177e89624c13d7dbcbf9e1f.zip
A zlib to tarball
* src-release.sh (do_proto_toplev): Configure with --target --with-target-subdir and --disable-multilib. (BINUTILS_SUPPORT_DIRS): Add zlib. (GAS_SUPPORT_DIRS): Likewise. (GDB_SUPPORT_DIRS): Likewise. (SIM_SUPPORT_DIRS): Likewise.
Diffstat (limited to 'src-release.sh')
-rwxr-xr-xsrc-release.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/src-release.sh b/src-release.sh
index dad16492bac..558b012897f 100755
--- a/src-release.sh
+++ b/src-release.sh
@@ -83,7 +83,9 @@ do_proto_toplev()
<Makefile.in >tmp
mv -f tmp Makefile.in
#
- ./configure --target=i386-pc-linux-gnu
+ ./configure --target=i386-pc-linux-gnu \
+ --with-target-subdir=. \
+ --disable-multilib
$MAKE configure-host configure-target \
ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \
CC_FOR_TARGET="$CC" CXX_FOR_TARGET="$CXX"
@@ -267,7 +269,7 @@ gdb_tar_compress()
}
# The FSF "binutils" release includes gprof and ld.
-BINUTILS_SUPPORT_DIRS="bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu"
+BINUTILS_SUPPORT_DIRS="bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu zlib"
binutils_release()
{
compressors=$1
@@ -276,7 +278,7 @@ binutils_release()
tar_compress $package $tool "$BINUTILS_SUPPORT_DIRS" "$compressors"
}
-GAS_SUPPORT_DIRS="bfd include libiberty opcodes intl setup.com makefile.vms"
+GAS_SUPPORT_DIRS="bfd include libiberty opcodes intl setup.com makefile.vms zlib"
gas_release()
{
compressors=$1
@@ -285,7 +287,7 @@ gas_release()
tar_compress $package $tool "$GAS_SUPPORT_DIRS" "$compressors"
}
-GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu"
+GDB_SUPPORT_DIRS="bfd include libiberty opcodes readline sim intl libdecnumber cpu zlib"
gdb_release()
{
compressors=$1
@@ -295,7 +297,7 @@ gdb_release()
}
# Corresponding to the CVS "sim" module.
-SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in makefile.vms"
+SIM_SUPPORT_DIRS="bfd opcodes libiberty include intl gdb/version.in makefile.vms zlib"
sim_release()
{
compressors=$1