Skip to content

Commit 2aff135

Browse files
committed
[scripts] Handle SoftFloat license
1 parent f677136 commit 2aff135

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/zip.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ echo "[ZIP] Building JRI"
2323
--add-modules java.se,jdk.jdwp.agent,jdk.unsupported \
2424
--output ./jri
2525

26+
if [ "$SFLT_NEEDED" == "true" ]; then
27+
cp "$SFLTDIR/COPYING.txt" "jri/legal/SoftFloat.txt"
28+
cp "$SFLTDIR/COPYING.txt" "jdk/legal/SoftFloat.txt"
29+
cp "$SFLTDIR/COPYING.txt" "jmods/SoftFloat.txt"
30+
fi
31+
2632
# create zip files
2733
echo "[ZIP] Creating JRI archive"
2834
tar -cf - jri | pigz -9 > "$BUILDDIR/jri-$JDKPLATFORM.tar.gz"

0 commit comments

Comments
 (0)