Project

General

Profile

QuickStart » History » Version 15

Version 14 (Michael Vale, 10/19/2012 03:33 AM) → Version 15/40 (Michael Vale, 10/19/2012 03:38 AM)

h1. QuickStart

h2. Quickstart guide to creating a ZRouter build environment.

h3. This Requires you have hg/mercurial installed (pkg install mercurial).

This should probably be done within a Jail.

# Create a path set aside for ZRouter build.
<pre>mkdir
e.g. `mkdir -p ZRouter/</pre> ZRouter/`
# Enter directory:
<pre>cd ZRouter</pre>
# cd ZRouter
# Checkout/clone ZRouter Project
<pre>[[hg]]
Project: [[hg]] clone http://zrouter.org/hg/zrouter/</pre> http://zrouter.org/hg/zrouter/
# Checkout/clone Current compatible FreeBSD source:
<pre>[[hg]]
[[hg]] clone http://zrouter.org/hg/FreeBSD/head FreeBSD</pre> FreeBSD
# Create Makefile.local.opts and set the following environment variables: variables
<pre>ee Makefile.local.opts
# export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
# export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
</pre>
-# make TARGET_PAIR=D-Link/DSR-500-
# Begin ZRouter Build Menu
<pre>./menu.sh</pre>
./menu.sh