OpenWRT firmware for routers
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Mirko Vogt 43365ca662 Do not use $(V) - force AM_V=1
Projects using silent-rules might otherwise fail to compile.

This is due to the following resulting Makefile code:

AM_V_P = $(am__v_P_$(V))
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
am__v_P_0 = false
am__v_P_1 = :

Automake directly uses $(V) for variable name expansion
which fails if $(V) is set to sth. else other than '0' or '1'.

This patch forces automake to not take $(V) into account
but to always use the default config for verbosity.

A better approach would be to actually take $(V) into account,
however not just pass it through (AM_V='$(V)') but
set AM_V to 0 if $V=0 / unset and to 1 otherwise.

This plan however is foiled due to my frustration about
automake as well as my lack of m4 skills.

automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077

Signed-off-by: Mirko Vogt <mirko@openwrt.org>

SVN-Revision: 44684
9 years ago
config config: disable kernel tracing on uml 9 years ago
docs docs: update remaining references to functions.sh 12 years ago
include netfilter: fix nf_nat_redirect dependencies for 3.19 and 4.0 9 years ago
package modules: make dwc2 only depend on gadget support for brcm2708 9 years ago
scripts scripts: fix getver git dir check 9 years ago
target kernel: backport symbol export from r44653 to 3.14 9 years ago
toolchain toolchain/gcc: fix an ICE on ARM (PR58595) 9 years ago
tools Do not use $(V) - force AM_V=1 9 years ago
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 12 years ago
.gitignore add git-src to .gitignore 10 years ago
BSDmakefile add missing copyright header 17 years ago
Config.in scripts/config: sync with linux upstream 9 years ago
LICENSE finally move buildroot-ng to trunk 8 years ago
Makefile Revert "build: use ONESHELL to speed up scanning and the toplevel makefile" 10 years ago
README Add 'subversion' build dependency to README 10 years ago
feeds.conf.default Move telephony feed to github 10 years ago
rules.mk rules.mk: don't add staging_dir/host/bin/ path again 9 years ago

README

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, subversion, 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