diff options
author | Josh Gao <jmgao@google.com> | 2015-09-01 11:51:10 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2015-09-01 11:51:10 -0700 |
commit | 4c7dac3cd5e79a4b69a8feea230b47bb452bb6e8 (patch) | |
tree | eac2f5501a4db4bf1c7b0caf990763da1746214d | |
parent | 5bf951507d31379a6e3428fd8a10b453bfcebec1 (diff) | |
download | gdb-4c7dac3cd5e79a4b69a8feea230b47bb452bb6e8.tar.gz |
Add the host platform to the gdb package name.
Change-Id: I83867b86861949f8d041de07f1a4b43a74798124
-rwxr-xr-x | build-gdb.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/build-gdb.sh b/build-gdb.sh index 913b84808..e89e2791d 100755 --- a/build-gdb.sh +++ b/build-gdb.sh @@ -113,10 +113,11 @@ gdb_build_install_dir () echo "$BH_BUILD_DIR/install/$1/gdb-multiarch-$2" } -# $1: gdb version +# $1: host system tag +# $2: gdb version gdb_ndk_package_name () { - echo "gdb-multiarch-$1" + echo "gdb-multiarch-$2-$1" } @@ -291,7 +292,7 @@ EOF package_host_gdb () { local SRCDIR="$(gdb_ndk_install_dir $1)" - local PACKAGENAME=$(gdb_ndk_package_name $2).tar.bz2 + local PACKAGENAME=$(gdb_ndk_package_name $1 $2).tar.bz2 local PACKAGE="$PACKAGE_DIR/$PACKAGENAME" dump "$(bh_host_text) $PACKAGENAME: Packaging" |