QuickStart » History » Version 19
« Previous -
Version 19/40
(diff) -
Next » -
Current version
Michael Vale, 10/19/2012 08:13 AM
QuickStart¶
Quickstart guide to creating a ZRouter build environment.¶
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.
# mkdir -p ZRouter/
- Enter directory:
# cd ZRouter
- Checkout/clone ZRouter Project
# hg clone http://zrouter.org/hg/zrouter/
- Checkout/clone Current compatible FreeBSD source:
# hg clone http://zrouter.org/hg/FreeBSD/head FreeBSD
- Create Makefile.local.opts and set the following environment variables:
# ee Makefile.local.opts export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
- Begin ZRouter Build Menu
# ./menu.sh
Or alternatively run make from the command-line, where Brand is board brand from zrouter/boards and Model is the model from zrouter/boards/brand/model:-# make TARGET_PAIR=Board/Model FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}