Skip to content

Create image for unsupported platform

Ycarus (Yannick Chabanois) edited this page Sep 4, 2020 · 34 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

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

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.