見出しを修正

tka3220 2021-01-23 16:20:45 +09:00
parent d797bafb0e
commit 3b62e06003

@ -1,15 +1,15 @@
#依存関係のインストール
# 依存関係のインストール
`sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi`
で依存関係をインストールしてください。
#gitリポジトリのクローン
# gitリポジトリのクローン
gitリポジトリをクローン(環境を作る)します。
`git clone --recursive git@github.com:puhitaku/buildbrain.git`
を実行します。かなり時間がかかるので寝る前などにやっておきましょう。
#Linuxのビルド
# Linuxのビルド
いよいよLinuxのビルドです。まず、`cd buildbrain`でディレクトリを変えてください。
1.`make ldefconfig`を実行して、`.config`ファイルを作成します。
2.`make lbuild`を実行してLinuxをビルドします。
#Debian (buster) のビルド
# Debian (buster) のビルド
今行ったのはLinuxのカーネルのビルドです。Debianをビルドして、ソフトが動くようにしましょう。
1.欲しいパッケージを`./tools/setup_debian.sh`の51行目あたりに追記します。(任意)
```diff
@ -23,7 +23,7 @@ gitリポジトリをクローン(環境を作る)します。
49 dbus udev build-essential flex bison pkg-config autotools-dev libtool autoconf automake \
50 python3 python3-dev python3-setuptools python3-wheel python3-pip python3-smbus \
51 resolvconf net-tools ssh openssh-client avahi-daemon
+ 52 apt install -y fbterm uim-fep uim-mozc
+ 52 apt install -y fbterm uim-fep uim-mozc
```
2.バックグラウンドで`make aptcache`を実行します。
バックグラウンドでDebianのビルドの間ずっと実行するので、新しいターミナルウィンドウを開きましょう。