OpenAP - Compile
Note: this information has been archived from opensource.instant802.com
This work is too important to be served from only one site.

If you still haven't obtained the source code

This source distribution comes with everything you need except the kernel source. You need to get the kernel source at your nearest kernel mirror untar it inside the openap source directory and then apply the patch in the misc subdir. Example commands follow:
  • # tar -xzf openap-0.1.0.tar.gz
  • # cd openap-0.1.0/
  • # wget http://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.17.tar.gz
  • # tar -xzf linux-2.4.17.tar.gz
  • # patch -p0 < ./misc/openap-linux-2.4.17.patch
Your sources are now ready.

Where to find documentation

At the top of the OpenAP source tree, peruse the README and Makefile.

Compilation QuickStart

The following quickstart is found at the head of the toplevel Makefile.
---------------------------------------------------------------------
# Toplevel Makefile for OpenAP kernel linux kernel and filesystem
#
# Copyright (C) 2001-2002 Instant802 Networks Inc.
#
# Quickstart to build a new flash image:
#
#   $ make tools
#   $ su
#     Password: 
#   # make install
#   # exit
#   $ make bootstrap
#
#   After a while you should have 2 files flash and flash.md5.
#   
# This distribution includes tools used to build the target filesystem as well
# as sources for the target filesystem itself.  The tools need only be built
# once (unless you change them, but you probably won't need to) and from that
# point on you can leave them alone.  The target (Access Point) is has an i386
# processor and we don't include a cross-compiler.   If your host (machine you
# develop on) doesn't have an i386 processor you need to first build a
# cross-compiler and edit the uclibc and kernel configuration appropriately.
#
# The first step to getting Linux running on your AP is to boot off an SRAM 
# card, details in the html documentation.  The sram target creates this image.
---------------------------------------------------------------------