This page will explain how to install OpenWRT as a cross-compile environment.
 Getting started
Note: For safety reasons all the further commands should be run from a non-root account.
First download a fresh copy of OpenWRT from git:
Now enter the openwrt dir that was just created:
Before running a cross-compiler you should update the repository:
If you want to have all the packages avaliable, run the following command:
scripts/feeds install -a
In case you want to choose a single package instead:
scripts/feeds install package_name
 Running the cross-compiler
To enter an interactive gui for OpenWRT cross-compiler:
Now select XBurst as your target system:
Target System -> (X) Ingenic XBurst
Choose all the other packages you want to build and exit the gui, saving the config. Then run:
The first time you run it, the build process will take several minutes due to building the whole cross-compilation toolchain.
When done, toolchain can be found in staging_dir/toolchain*
Libs can be found in staging_dir/target*