Skip to content

Commit

Permalink
copy license files into dest directory
Browse files Browse the repository at this point in the history
  • Loading branch information
uchan-nos committed Mar 23, 2020
1 parent 5152f23 commit 2b88038
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ EDK II に含まれる細かいツールをビルドしておきます。
$ wget https://github.com/uchan-nos/mikanos-build/releases/download/v1.0/x86_64-elf.tar.gz
$ tar xf x86_64-elf.tar.gz

`x86_64-elf.tar.gz` に含まれるファイルは [Newlib](https://sourceware.org/newlib/)[libc++](https://libcxx.llvm.org/) をビルドしたものです。
それらのライセンスは Newlib や libc++ のライセンスに従います
MikanOS や mikanos-build リポジトリのライセンスとは異なりますので注意してください
`x86_64-elf.tar.gz` に含まれるファイルは [Newlib](https://sourceware.org/newlib/)[libc++](https://libcxx.llvm.org/)[FreeType](https://www.freetype.org/) をビルドしたものです。
それらのライセンスはそれぞれのライブラリ固有のライセンスに従います
MikanOS や mikanos-build リポジトリ全体のライセンスとは異なりますので注意してください

次のファイル群は Newlib 由来です。ライセンスは `x86_64-elf/LICENSE.newlib` を参照してください。

Expand All @@ -73,6 +73,13 @@ MikanOS や mikanos-build リポジトリのライセンスとは異なります
x86_64-elf/include/c++/v1/
すべて

次のファイル群は FreeType 由来です。ライセンスは `x86_64-elf/LICENSE.freetype` を参照してください。

x86_64-elf/lib/
libfreetype.a
x86_64-elf/include/freetype2/
すべて

## MikanOS のソースコードの入手

Git で入手できます。
Expand Down
Binary file modified devenv/OVMF_VARS.fd
Binary file not shown.
4 changes: 4 additions & 0 deletions devenv_src/stdlib/build-stdlib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,7 @@ cd build_freetype
--host=$TARGET_TRIPLE --prefix=$PREFIX
make -j 4
make install

rm $PREFIX/lib/libfreetype.la
rm -rf $PREFIX/lib/pkgconfig
rm -rf $PREFIX/share
6 changes: 6 additions & 0 deletions devenv_src/stdlib/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,11 @@ echo "Copying standard libraries."
echo "==========================================="
exe docker cp ${CID}:/usr/local/x86_64-elf ${HOME}/osbook/devenv

SRC=/usr/local/src
DST=${HOME}/osbook/devenv/x86_64-elf
exe docker cp ${CID}:${SRC}/newlib-cygwin/COPYING.NEWLIB ${DST}/LICENSE.newlib
exe docker cp ${CID}:${SRC}/llvm-project/libcxx/LICENSE.TXT ${DST}/LICENSE.libcxx
exe docker cp ${CID}:${SRC}/freetype-2.10.1/docs/FTL.TXT ${DST}/LICENSE.freetype

echo ""
echo "Done. Standard libraries at ${HOME}/osbook/devenv/x86_64-elf"

0 comments on commit 2b88038

Please sign in to comment.