Create a gist now

Instantly share code, notes, and snippets.

@kw-udon /Makefile
Last active Aug 29, 2015

What would you like to do?
demonstration of xv6 ported to GAIA processor
# If you execute `make run`, xv6 will be compiled by UCC and boot up in the simulator.
# You need OCaml and clang to compile UCC.
all: ucc xv6
ucc:
git clone git@github.com:kw-udon/ucc.git
make -C ./ucc/
xv6:
git clone git@github.com:wasabiz/xv6.git
make -C ./xv6/
.PHONY: run
run: ucc xv6
make -C ./xv6/ sim
.PHONY: clean
clean:
rm -rf ./ucc/ ./xv6/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment