Project

General

Profile

QuickStart » History » Version 14

Michael Vale, 10/19/2012 03:33 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 14 Michael Vale
This should probably be done within a Jail.
8 14 Michael Vale
9 13 Michael Vale
# Create a path set aside for ZRouter build. e.g. `mkdir -p ZRouter/`
10 13 Michael Vale
# Enter directory: # cd ZRouter
11 13 Michael Vale
# Checkout/clone ZRouter Project: [[hg]] clone http://zrouter.org/hg/zrouter/
12 13 Michael Vale
# Checkout/clone Current compatible FreeBSD source: [[hg]] clone http://zrouter.org/hg/FreeBSD/head FreeBSD
13 13 Michael Vale
# Create Makefile.local.opts and set the following environment variables
14 7 Nicolai Petri
# export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
15 7 Nicolai Petri
# export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
16 13 Michael Vale
-# make TARGET_PAIR=D-Link/DSR-500-
17 13 Michael Vale
# ./menu.sh