Project

General

Profile

QuickStart » History » Version 14

« Previous - Version 14/40 (diff) - Next » - Current version
Michael Vale, 10/19/2012 03:33 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.

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