OpenWrt Source Repository
Go to file
Sven Eckelmann 9a5a10eb69 build: Accept BIN_DIR parameter for legacy-images
BIN_DIR can be set to overwrite the output path for new images. This is an
advertised feature for the imagebuilder and is used by systems like
LibreMesh's chef.

The legacy images are build using a new sub-make which doesn't receive the
variable overwrites of the parent make process. As result, the BIN_DIR is
automatically defined to the default value from rules.mk. The images will
therefore not be placed in the output path which was selected by the user.

Providing BIN_DIR as an explicit variable override to the sub-make works
around this problem.

Fixes: 26c771452c ("image.mk: add LegacyDevice wrapper to allow legacy image building code to be used for device profiles")
Reported-by: Paul Spooren <mail@aparcar.org>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-02-17 19:22:39 +01:00
.github build: Update README & github help 2018-07-08 09:41:53 +01:00
config build: remove leftovers from previous x86 commits 2019-02-17 18:22:40 +01:00
include build: Accept BIN_DIR parameter for legacy-images 2019-02-17 19:22:39 +01:00
package sunxi: add support for Sinovoip Banana Pi M2 Plus 2019-02-17 19:22:39 +01:00
scripts scripts: ipkg-make-index.sh: dereference symbolic links 2019-01-31 12:35:29 +01:00
target kernel: disable CONFIG_USB_IMX21_HCD in default for kernel 4.14 2019-02-17 19:22:39 +01:00
toolchain glibc: update to latest 2.27 commit [BZ #24180] 2019-02-09 21:07:16 +01:00
tools tools/mpfr: Update to 4.0.2 2019-02-10 20:51:09 +01:00
.gitattributes
.gitignore
BSDmakefile
Config.in
LICENSE
Makefile build: Unset CDPATH to avoid problems 2018-08-25 11:10:28 +02:00
README build: README punctuation pendantry 2018-07-08 12:05:16 +01:00
feeds.conf.default
rules.mk librpc: remove package 2019-01-22 13:29:46 +01:00

README

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------

This is the buildsystem for the OpenWrt Linux distribution.

To build your own firmware you need a Linux, BSD or MacOSX system (case
sensitive filesystem required). Cygwin is unsupported because of the lack
of a case sensitive file system.

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

1. Run "./scripts/feeds update -a" to obtain all the latest package definitions
defined in feeds.conf / feeds.conf.default

2. Run "./scripts/feeds install -a" to install symlinks for all obtained
packages into package/feeds/

3. Run "make menuconfig" to select your preferred configuration for the
toolchain, target system & firmware packages.

4. Run "make" to build your firmware. This will download all sources, build
the cross-compile toolchain and then cross-compile the Linux kernel & all
chosen applications for your target system.

Sunshine!
	Your OpenWrt Community
	http://www.openwrt.org