Go to file
jow 28e3d3f330 BB: uclibc++: make g++-uc* wrappers relocatable
The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which
will not work outside of the original build environment.

Replace the hardcoded staging_dir occurences with paths relative to the
$STAGING_DIR environment variable to make the g++-uc* wrappers usable in an
SDK environment.

Fixes the libdb47 build failure reported at
  https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r46162

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@46164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-03 13:49:24 +00:00
config create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
docs create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
include BB: build: improve feed handling for opkg.conf 2015-02-13 11:59:16 +00:00
package BB: uclibc++: make g++-uc* wrappers relocatable 2015-07-03 13:49:24 +00:00
scripts build: introduce per feed repository support 2014-08-06 18:18:47 +00:00
target kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues 2015-03-17 17:15:15 +00:00
toolchain build: ensure tools are built before building the toolchain 2014-12-13 12:01:19 +00:00
tools ar71xx: add support for TL-WA701ND v2 2015-01-20 15:49:04 +00:00
.gitattributes create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
.gitignore create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
BSDmakefile create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
Config.in create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
LICENSE create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
Makefile create branch for barrier breaker (from trunk r41863) 2014-07-28 23:18:57 +00:00
README Add 'subversion' build dependency to README 2014-09-01 13:22:10 +00:00
feeds.conf.default telephony: update feed url 2014-12-11 10:32:52 +00:00
rules.mk build: override hardcoded paths to bison and m4 to make the SDK more relocatable 2014-08-26 12:16:18 +00:00

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