Project

General

Profile

QuickStart » History » Version 13

Version 12 (Oleksandr Rybalko, 01/27/2012 10:54 AM) → Version 13/40 (Michael Vale, 10/19/2012 03:32 AM)

h1. QuickStart

h2. Quickstart guide to creating a ZRouter build environment. .. todo

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

# This should probably be done within a Jail. -install uboot_mkimage (required for devices which use U-Boot bootloader) (see [[Installing uboot_mkimage]])-
# Create a path set aside for ZRouter build. e.g. somewhere in your home do `mkdir -p ZRouter/`
# Enter directory: # cd ZRouter
# Checkout/clone ZRouter Project: [[hg]] clone http://zrouter.org/hg/zrouter/ (that step made a copy of ZRouter project in zrouter subdir)
# 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
#
export FREEBSD_SRC_TREE=${PATH_TO_FREEBSD_SRC}/head
# export OBJ_DIR=${PATH_FOR_OBJ_BUILD_DIR}
-# # make TARGET_PAIR=D-Link/DSR-500- TARGET_PAIR=D-Link/DSR-500
# ./menu.sh
-# ./menu.sh-