Project

General

Profile

QuickStart » History » Version 17

« Previous - Version 17/40 (diff) - Next » - Current version
Michael Vale, 10/19/2012 03:39 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.
    # 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:
    # ee Makefile.local.opts
     export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
     export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
    

    # make TARGET_PAIR=D-Link/DSR-500
  6. Begin ZRouter Build Menu
    # ./menu.sh