OpenWrt
Building with SDK
- Download desired version of OpenWrt SDK for Your device from: https://openwrt.org/downloads The SDK must match the version of OpenWrt installed on Your device.
- Unpack SDK and change current directory to it.
- Run following commands to download dependencies recipes:
scripts/feeds update -a scripts/feeds install libflac libid3tag liblua5.3 libopenssl libpcre2
- Copy contents of
contrib/packaging/openwrt
from myMPD tree topackage/mympd
directory of SDK. - To build package run:
make -j$(nproc) BUILD_LOG=1
- Resulting package will be placed in
bin
directory.
Building in full OpenWrt buildroot
- Clone the OpenWrt tree https://git.openwrt.org/openwrt/openwrt.git
- Run following commands to download dependencies recipes:
scripts/feeds update -a scripts/feeds install libflac libid3tag liblua5.3 libopenssl libpcre2
- Copy contents of
contrib/packaging/openwrt
from myMPD tree topackage/mympd
directory of SDK. - To select myMPD package build run:
make menuconfig
- Select it in ‘Sound’ menu, to build it run:
- make -j$(nproc) BUILD_LOG=1`
- Resulting package will be placed in
bin
directory.
Thanks goes to tmn505 for the OpenWrt support.