mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-04 00:59:32 +02:00
added doc directory
This commit is contained in:
parent
957ccb151d
commit
8bd75c5b32
2 changed files with 40 additions and 0 deletions
40
doc/build.md
Normal file
40
doc/build.md
Normal file
|
@ -0,0 +1,40 @@
|
|||
https://wiki.openwrt.org/doc/howto/buildroot.exigence
|
||||
|
||||
1. Do everything as non-root user
|
||||
2. Issue all commands in the <buildroot dir> directory, e.g. ~/openwrt
|
||||
<snapcast dir>
|
||||
|
||||
```
|
||||
git clone git://git.openwrt.org/15.05/openwrt.git
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
cd openwrt
|
||||
./scripts/feeds update -a
|
||||
./scripts/feeds install -a
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
make menuconfig
|
||||
make
|
||||
```
|
||||
|
||||
|
||||
Within the OpenWrt directory I'm linking to it, like this:
|
||||
```
|
||||
cd <buildroot dir>/package/sxx/snapcast
|
||||
ln -s <snapcast dir>/openWrt/Makefile.openwrt Makefile
|
||||
ln -s <snapcast dir> src
|
||||
|
||||
ls -l
|
||||
Makefile -> <snapcast dir>/openWrt/Makefile.openwrt
|
||||
src -> <snapcast dir>
|
||||
```
|
||||
...and build like this:
|
||||
```
|
||||
cd <buildroot dir>
|
||||
make package/sxx/snapcast/clean V=s
|
||||
make package/sxx/snapcast/compile -j1 V=s
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue