Project

General

Profile

QuickStart » History » Version 16

Version 15 (Michael Vale, 10/19/2012 03:38 AM) → Version 16/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 installed (pkg install mercurial).

This should probably be done within a Jail.

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