mirror of
https://github.com/Linux4Yourself/book.git
synced 2025-01-24 06:52:20 +08:00
commit
3aab982ac9
52
docs/build-temp-system/file.md
Normal file
52
docs/build-temp-system/file.md
Normal file
@ -0,0 +1,52 @@
|
||||
<package-info :package="package" showsbu></package-info>
|
||||
|
||||
<script>
|
||||
new Vue({
|
||||
el: '#main',
|
||||
data: { package: {} },
|
||||
mounted: function () {
|
||||
this.getPackage('file');
|
||||
},
|
||||
methods: {
|
||||
getPackage: function(name) {
|
||||
getPackage(name)
|
||||
.then(response => this.package = response);
|
||||
},
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
## Подготовка
|
||||
|
||||
На хост-системе должна присутствовать утилита {{package.name}}. Вы можете также собрать её следующим образом:
|
||||
|
||||
```bash
|
||||
mkdir build
|
||||
pushd build
|
||||
../configure --disable-bzlib \
|
||||
--disable-libseccomp \
|
||||
--disable-xzlib \
|
||||
--disable-zlib
|
||||
make
|
||||
popd
|
||||
```
|
||||
|
||||
## Настройка
|
||||
|
||||
|
||||
```bash
|
||||
./configure --prefix=/usr --host=$LIN_TGT --build=$(./config.guess)
|
||||
```
|
||||
|
||||
## Сборка
|
||||
|
||||
|
||||
```bash
|
||||
make
|
||||
```
|
||||
|
||||
## Установка
|
||||
|
||||
```bash
|
||||
make DESTDIR=$LIN install
|
||||
```
|
Loading…
Reference in New Issue
Block a user