mirror of
https://github.com/brain-hackers/README
synced 2025-06-12 16:02:40 +09:00
見出しを修正
parent
d797bafb0e
commit
3b62e06003
10
Linux>ビルド.md
10
Linux>ビルド.md
@ -1,15 +1,15 @@
|
|||||||
#依存関係のインストール
|
# 依存関係のインストール
|
||||||
`sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi`
|
`sudo apt install build-essential bison flex libncurses5-dev gcc-arm-linux-gnueabi`
|
||||||
で依存関係をインストールしてください。
|
で依存関係をインストールしてください。
|
||||||
#gitリポジトリのクローン
|
# gitリポジトリのクローン
|
||||||
gitリポジトリをクローン(環境を作る)します。
|
gitリポジトリをクローン(環境を作る)します。
|
||||||
`git clone --recursive git@github.com:puhitaku/buildbrain.git`
|
`git clone --recursive git@github.com:puhitaku/buildbrain.git`
|
||||||
を実行します。かなり時間がかかるので寝る前などにやっておきましょう。
|
を実行します。かなり時間がかかるので寝る前などにやっておきましょう。
|
||||||
#Linuxのビルド
|
# Linuxのビルド
|
||||||
いよいよLinuxのビルドです。まず、`cd buildbrain`でディレクトリを変えてください。
|
いよいよLinuxのビルドです。まず、`cd buildbrain`でディレクトリを変えてください。
|
||||||
1.`make ldefconfig`を実行して、`.config`ファイルを作成します。
|
1.`make ldefconfig`を実行して、`.config`ファイルを作成します。
|
||||||
2.`make lbuild`を実行してLinuxをビルドします。
|
2.`make lbuild`を実行してLinuxをビルドします。
|
||||||
#Debian (buster) のビルド
|
# Debian (buster) のビルド
|
||||||
今行ったのはLinuxのカーネルのビルドです。Debianをビルドして、ソフトが動くようにしましょう。
|
今行ったのはLinuxのカーネルのビルドです。Debianをビルドして、ソフトが動くようにしましょう。
|
||||||
1.欲しいパッケージを`./tools/setup_debian.sh`の51行目あたりに追記します。(任意)
|
1.欲しいパッケージを`./tools/setup_debian.sh`の51行目あたりに追記します。(任意)
|
||||||
```diff
|
```diff
|
||||||
@ -23,7 +23,7 @@ gitリポジトリをクローン(環境を作る)します。
|
|||||||
49 dbus udev build-essential flex bison pkg-config autotools-dev libtool autoconf automake \
|
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 \
|
50 python3 python3-dev python3-setuptools python3-wheel python3-pip python3-smbus \
|
||||||
51 resolvconf net-tools ssh openssh-client avahi-daemon
|
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`を実行します。
|
2.バックグラウンドで`make aptcache`を実行します。
|
||||||
バックグラウンドでDebianのビルドの間ずっと実行するので、新しいターミナルウィンドウを開きましょう。
|
バックグラウンドでDebianのビルドの間ずっと実行するので、新しいターミナルウィンドウを開きましょう。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user