OpenWrt Source Repository
Go to file
Petr Štetiar 3b68fb57c9 build: cleanup possibly dangling Python 2 host symlink
When bumping buildroot to Python 3, we need to assure, that Python
symlink in staging bin directory points to Python >= 3.5 as well.

We can't rely completly just on SetupHostCommand as its executed only in
cases when the $(STAGING_DIR_HOST)/bin/python doesn't already exist, so
we need to remove it before running SetupHostCommand.

Acked-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-26 08:09:16 +02:00
.github build: Update README & github help 2018-07-08 09:41:53 +01:00
config brcm2708: add linux 4.19 support 2019-07-14 12:44:14 +02:00
include build: cleanup possibly dangling Python 2 host symlink 2019-07-26 08:09:16 +02:00
package layerscape: convert to python3 for rcw 2019-07-26 08:09:16 +02:00
scripts scripts/jungo-image: convert to Python 3 with 2-to-3 2019-07-26 08:09:16 +02:00
target ath79: remove lines-initial-states property 2019-07-25 17:27:57 +02:00
toolchain toolchain: Don't force GCC8 on ARC 2019-07-07 13:02:05 +02:00
tools tools/scons: switch to Python 3 2019-07-26 08:09:16 +02:00
.gitattributes
.gitignore
BSDmakefile
Config.in
LICENSE
Makefile Revert "build: allow simple build system customization with local.mk" 2019-07-25 09:48:33 +02:00
README build: switch to Python 3 2019-07-26 08:09:16 +02: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, python3.5+, 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