wereHamster/onion-omega


Language: Makefile

Keywords: haskell


onion-omega

https://medium.com/@wereHamster/cross-compiling-for-the-onion-omega-1cf8ee80df02

Docker images for building C and GHC toolchains for the onion omega IoT device.

First build the image in the xt subfolder. It will build the C toolchain and install it into /opt/mips-unknown-linux-musl. Save that image under the onion-omega-xt tag:

cd xt
docker build -t onion-omega-xt .

Next you can build the GHC cross-compiler from the ghc subdirectory. It will install a GHC cross-compiler into /opt/ghc:

cd ghc
docker build -t onion-omega-ghc .

If you want to install the toolchains directly on your host, simply follow the instructions in the Dockerfiles. They are rather simple and should be easy to follow.

Project Statistics

Sourcerank 2
Repository Size 36.1 KB
Stars 3
Forks 1
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Tomas Carnecky

Something wrong with this page? Make a suggestion

Last synced: 2017-11-30 23:43:16 UTC

Login to resync this repository