aboutsummaryrefslogtreecommitdiffstats
path: root/build-gcc.sh
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-11-20 01:31:46 (GMT)
committerDan Albert <danalbert@google.com>2015-11-20 01:33:20 (GMT)
commit5fde95ebe99899aaffc86df2a1599d4be55e59d0 (patch)
tree3d9999ec153ea5e84a479d7164867c1b4850b996 /build-gcc.sh
parent9210b4077f9ac53b8b99f5231c920c5149bdb33e (diff)
downloadtoolchain_gcc-5fde95ebe99899aaffc86df2a1599d4be55e59d0.zip
toolchain_gcc-5fde95ebe99899aaffc86df2a1599d4be55e59d0.tar.gz
toolchain_gcc-5fde95ebe99899aaffc86df2a1599d4be55e59d0.tar.bz2
Add NOTICE and MODULE_LICENSE files to package.
I had previously added all these to the prebuilts directories by hand. Doing it at this stage ensures that we'll always have them. Change-Id: Iaebed3990bff79730073202e808c5d47cb55326f
Diffstat (limited to 'build-gcc.sh')
-rwxr-xr-xbuild-gcc.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-gcc.sh b/build-gcc.sh
index 5496e3d..f8dcf21 100755
--- a/build-gcc.sh
+++ b/build-gcc.sh
@@ -575,6 +575,8 @@ rm -rf $TOOLCHAIN_INSTALL_PATH/sysroot
if [ "$PACKAGE_DIR" ]; then
make_repo_prop "$TMPDIR/$TOOLCHAIN_SUBDIR"
+ touch $TMPDIR/$TOOLCHAIN_SUBDIR/MODULE_LICENSE_GPL
+ cp $TMPDIR/$TOOLCHAIN_SUBDIR/COPYING $TMPDIR/$TOOLCHAIN_SUBDIR/NOTICE
ARCHIVE="gcc-$ARCH-$HOST_TAG.tar.bz2"
dump "Packaging $ARCHIVE from $TMPDIR/$TOOLCHAIN_SUBDIR"