Skip to content
Snippets Groups Projects
  • nbd's avatar
    build: BSD compile fixes · 985d666e
    nbd authored
    
    following patch allows to build images for Qemu ARM on
    OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.
    
    Mostly small pieces of code changes to get things right on the
    specific platform.
    
    Updated the README to describe better, which tools on the host
    are required. Added some kind of prepare scripts to install needed
    tools on BSD via packages.
    
    Signed-off-by: default avatarWaldemar Brodkorb <mail@waldemar-brodkorb.de>
    
    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35900 3c298f89-4303-0410-b956-a3cf2f4a3e73
    985d666e
README 1.23 KiB
This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl
make, find, grep, diff, unzip, gawk, getopt, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your OpenWrt Project
	http://openwrt.org