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/openwrtfrom myMPD tree topackage/mympddirectory of SDK.To build package run:
make -j$(nproc) BUILD_LOG=1
Resulting package will be placed in
bindirectory.
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/openwrtfrom myMPD tree topackage/mympddirectory of SDK.To select myMPD package build run:
make menuconfigSelect it in ‘Sound’ menu, to build it run:
make -j$(nproc) BUILD_LOG=1
Resulting package will be placed in
bindirectory.
Thanks goes to tmn505 for the OpenWrt support.