QuickStart » History » Version 15
Michael Vale, 10/19/2012 03:38 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 | 15 | Michael Vale | # Create a path set aside for ZRouter build. |
10 | 15 | Michael Vale | <pre>mkdir -p ZRouter/</pre> |
11 | 15 | Michael Vale | # Enter directory: |
12 | 15 | Michael Vale | <pre>cd ZRouter</pre> |
13 | 15 | Michael Vale | # Checkout/clone ZRouter Project |
14 | 15 | Michael Vale | <pre>[[hg]] clone http://zrouter.org/hg/zrouter/</pre> |
15 | 15 | Michael Vale | # Checkout/clone Current compatible FreeBSD source: |
16 | 15 | Michael Vale | <pre>[[hg]] clone http://zrouter.org/hg/FreeBSD/head FreeBSD</pre> |
17 | 15 | Michael Vale | # Create Makefile.local.opts and set the following environment variables: |
18 | 15 | Michael Vale | <pre>ee Makefile.local.opts |
19 | 13 | Michael Vale | # export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head |
20 | 13 | Michael Vale | # export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR} |
21 | 15 | Michael Vale | </pre> |
22 | 7 | Nicolai Petri | -# make TARGET_PAIR=D-Link/DSR-500- |
23 | 15 | Michael Vale | # Begin ZRouter Build Menu |
24 | 15 | Michael Vale | <pre>./menu.sh</pre> |