Skip to content

Dockerfile and additional info files necessary to instantiate a build env for Onion Omega (ar9331 chipset)

Notifications You must be signed in to change notification settings

borromeotlhs/onion-omega

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

docker-onion-omega

Dockerfile for rolling out a dev env for the onion omega.

As of right now, this is probably wrong, but it outlines, roughly, what I have to do to get a base OpenWRT toolchain.

After booting up, you normally would run:

make defconfig
make prereq
make menuconfig
make

but I have included all commands up until the

make

command to just have this awaiting a 'make -j8' on container bringup.

Then, you'll need to follow the instructions at: https://github.com/netbeast/docs/wiki/Cross-Compile-Nodejs-for-OpenWrt to compile node.js. One step the instructions forgot was to set up RANLIB variable.

Following the node.js cross-compile instructions above, this image's export commands would thusly look like:
```shell export AR=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin/mips-openwrt-linux-ar export CC=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin/mips-openwrt-linux-gcc export CXX=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin/mips-openwrt-linux-g++ export LINK=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin/mips-openwrt-linux-g++ export RANLIB=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin/mips-openwrt-linux-ranlib export STAGING_DIR=/openwrt/staging_dir/ export LIBPATH=/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/lib export LDFLAGS='-Wl,-rpath-link '${LIBPATH} export PATH=$PATH:/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_musl-1.1.11/bin ```

About

Dockerfile and additional info files necessary to instantiate a build env for Onion Omega (ar9331 chipset)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published