summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-08-28 06:25:35 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-08-28 06:25:35 +0000
commit86dad5717642e2e77e75b8a7178f585334731884 (patch)
treeb0c5f501d7c03a221922115ae4c4caa704b52001
parentb70f8e68f44ed0c72764a2633375e59cfda23bbc (diff)
parentd403636fa4a5cee5ce2ff69b163f3828fee43e0c (diff)
downloadgdb-86dad5717642e2e77e75b8a7178f585334731884.tar.gz
Merge "Update to new buildhost API."
-rwxr-xr-xbuild-gdb.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/build-gdb.sh b/build-gdb.sh
index 43824dba1..c8268c488 100755
--- a/build-gdb.sh
+++ b/build-gdb.sh
@@ -160,7 +160,7 @@ build_expat ()
need_build_expat ()
{
- bh_stamps_do host-expat-$1 build_expat $1
+ bh_do build_expat $1
}
# $1: host system tag
@@ -214,7 +214,7 @@ build_host_gdb ()
need_build_host_gdb ()
{
- bh_stamps_do host-gdb-$1-$2-$3 build_host_gdb $1 $2 $3
+ bh_do build_host_gdb $1 $2 $3
}
# Install host GDB binaries and support files to the NDK install dir.
@@ -271,7 +271,7 @@ install_host_gdb ()
need_install_host_gdb ()
{
- bh_stamps_do install-host-gdb-$1-$2-$3 install_host_gdb $1 $2 $3
+ bh_do install_host_gdb $1 $2 $3
}
# Package host GDB binaries into a tarball
@@ -284,8 +284,6 @@ package_host_gdb ()
local PACKAGENAME=$(gdb_ndk_package_name $1 $2 $3).tar.bz2
local PACKAGE="$PACKAGE_DIR/$PACKAGENAME"
- need_install_host_gdb $1 $2 $3
-
bh_set_target_tag $2
dump "$(bh_host_text) $PACKAGENAME: Packaging"
@@ -310,7 +308,7 @@ if [ "$PACKAGE_DIR" ]; then
bh_setup_build_for_host $SYSTEM
for ARCH in $ARCHS; do
for VERSION in $GDB_VERSION; do
- bh_stamps_do package_host_gdb-$SYSTEM-$ARCH-$VERSION package_host_gdb $SYSTEM android-$ARCH $VERSION
+ bh_do package_host_gdb $SYSTEM android-$ARCH $VERSION
done
done
done