Skip to content

Create image for unsupported platform

Ycarus (Yannick Chabanois) edited this page Sep 11, 2020 · 37 revisions

Any platform where images are not generated are unsupported platform. No support for any of them. This may or may not work

You need to be under Linux with all tools needed to compile OpenWrt. This should be enough for Debian:

apt-get install git-core build-essential libssl-dev libncurses5-dev unzip gawk zlib1g-dev busybox curl rsync gettext

To test on any other platform (supported by OpenWrt with kernel 5.4):

git clone https://github.com/Ysurac/openmptcprouter.git
cd openmptcprouter
OMR_TARGET="myplatform" OMR_FEED_SRC="master" ./build.sh

If the platform already exist, replace myplatform by the platform name like x86_64. Check config-xxx files to find platforms where xxx is the supported platform name.

The script build.sh accepts all make arguments (like -j).

Then select your arch in the menu and build it like this:

cd myplatform/source
make menuconfig 
make -j6

When finished, files are located in the directory source/bin.

Clone this wiki locally