Project

General

Profile

QuickStart » History » Version 13

« Previous - Version 13/40 (diff) - Next » - Current version
Michael Vale, 10/19/2012 03:32 AM


QuickStart

Quickstart guide to creating a ZRouter build environment.

This Requires you have hg/mercurial installed (pkg install mercurial).

  1. This should probably be done within a Jail.
  2. Create a path set aside for ZRouter build. e.g. `mkdir -p ZRouter/`
  3. Enter directory: # cd ZRouter
  4. Checkout/clone ZRouter Project: hg clone http://zrouter.org/hg/zrouter/
  5. Checkout/clone Current compatible FreeBSD source: hg clone http://zrouter.org/hg/FreeBSD/head FreeBSD
  6. Create Makefile.local.opts and set the following environment variables
  7. export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
  8. export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
    # make TARGET_PAIR=D-Link/DSR-500
  9. ./menu.sh