Project

General

Profile

QuickStart » History » Version 13

Michael Vale, 10/19/2012 03:32 AM

1 1 Nicolai Petri
h1. QuickStart
2 1 Nicolai Petri
3 13 Michael Vale
h2. Quickstart guide to creating a ZRouter build environment.
4 1 Nicolai Petri
5 13 Michael Vale
h3. This Requires you have hg/mercurial installed (pkg install mercurial).
6 13 Michael Vale
7 13 Michael Vale
# This should probably be done within a Jail.
8 13 Michael Vale
# Create a path set aside for ZRouter build. e.g. `mkdir -p ZRouter/`
9 13 Michael Vale
# Enter directory: # cd ZRouter
10 13 Michael Vale
# Checkout/clone ZRouter Project: [[hg]] clone http://zrouter.org/hg/zrouter/
11 13 Michael Vale
# Checkout/clone Current compatible FreeBSD source: [[hg]] clone http://zrouter.org/hg/FreeBSD/head FreeBSD
12 13 Michael Vale
# Create Makefile.local.opts and set the following environment variables
13 7 Nicolai Petri
# export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
14 7 Nicolai Petri
# export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
15 13 Michael Vale
-# make TARGET_PAIR=D-Link/DSR-500-
16 13 Michael Vale
# ./menu.sh