Project

General

Profile

QuickStart » History » Version 17

Version 16 (Michael Vale, 10/19/2012 03:39 AM) → Version 17/40 (Michael Vale, 10/19/2012 03:39 AM)

h1. QuickStart

h2. Quickstart guide to creating a ZRouter build environment.

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

This should probably be done within a Jail.

# Create a path set aside for ZRouter build.
<pre># mkdir -p ZRouter/</pre>
# Enter directory:
<pre># cd ZRouter</pre>
# Checkout/clone ZRouter Project
<pre># hg clone http://zrouter.org/hg/zrouter/</pre>
# Checkout/clone Current compatible FreeBSD source:
<pre># hg clone http://zrouter.org/hg/FreeBSD/head FreeBSD</pre>
# Create Makefile.local.opts and set the following environment 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>