aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-12-10 15:09:34 -0700
committerRob Savoye <rob.savoye@linaro.org>2014-12-10 15:09:34 -0700
commit72219d328fee4e334c19ce30d21806458b7fa494 (patch)
tree7bc6c7e377d753986facf04eb468810dad777240
parent20f0b9dd0ae2e9b017be2b14bdf65a36d19406b4 (diff)
the sysroot is now under a target directory
-rw-r--r--lib/package.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 535619b..d94bfc3 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -214,7 +214,8 @@ binary_toolchain()
dryrun "ln -sfnT ${local_builds}/destdir/${host} ${destdir}"
# FIXME: link the sysroot into the toolchain tarball
- ln -sfnT ${sysroots} ${destdir}/libc
+ dryrun "mkdir -p ${destdir}/${host}/"
+ ln -sfnT ${sysroots} ${destdir}/${target}/libc
# make the tarball from the tree we just created.
notice "Making binary tarball for toolchain, please wait..."