aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Savoye <rob.savoye@linaro.org>2014-11-23 15:28:27 -0700
committerRob Savoye <rob.savoye@linaro.org>2014-11-23 15:28:27 -0700
commite275d41bb235881487325084d81699e6d400a488 (patch)
treefc099fd7f03512f06d9b94cbd52e9e56d1ce85d6
parentff15642e8f22a4e67af49022543c2764883d3bf8 (diff)
make a symbolic link to the sysroot so it gets packaged.
-rw-r--r--lib/package.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/package.sh b/lib/package.sh
index 398ab8f..535619b 100644
--- a/lib/package.sh
+++ b/lib/package.sh
@@ -213,6 +213,9 @@ binary_toolchain()
# local installdir="`dirname ${installdir} | sed -e 's:/bin::'`"
dryrun "ln -sfnT ${local_builds}/destdir/${host} ${destdir}"
+ # FIXME: link the sysroot into the toolchain tarball
+ ln -sfnT ${sysroots} ${destdir}/libc
+
# make the tarball from the tree we just created.
notice "Making binary tarball for toolchain, please wait..."
dryrun "tar Jcfh ${local_snapshots}/${tag}.tar.xz --directory=/tmp/linaro.$$ ${exclude} ${tag}"