1
0
Fork 0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-10 00:36:24 +02:00
OpenWrt Source Repository https://openwrt.org/
Go to file
Eneas U de Queiroz 78d1f3ac61 build: call ipkg-remove using xargs if #args>=512
The wildcard call to clean up luci package (luci*) can pick up over
2,300 files when the full tree is built. Running make package/luci/clean
or a second run of make package/luci/compile would fail with an
'Argument list too long' error.

To avoid that, a maybe_use_xargs function was created that runs the
command straight as usual if the number of arguments is < 512, or saves
the list in a temporary file and feeds it to xargs otherwise.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2020-07-11 13:33:28 +02:00
.github build: Update README & github help 2018-07-08 09:41:53 +01:00
config kernel: rename CONFIG_NETPRIO_CGROUP to CONFIG_CGROUP_NET_PRIO 2020-06-27 00:19:13 +02:00
include build: call ipkg-remove using xargs if #args>=512 2020-07-11 13:33:28 +02:00
package kernel: kmod-zram: break the strict dependency from lz4 2020-07-11 13:33:28 +02:00
scripts build: fix compatibility with python 3.6 2020-07-07 19:47:24 +02:00
target toolchain/wrapper.sh: fix remaining shellcheck warnings 2020-07-11 13:33:28 +02:00
toolchain toolchain/gdb: Don't use gdb-arc 2020-07-11 13:33:28 +02:00
tools firmware-utils: mkfwimage: fix memcpy and strncpy usage 2020-07-11 13:33:28 +02:00
.gitattributes
.gitignore Revert ".gitignore: ignore more scripts/config output" 2020-04-11 19:53:28 +01:00
BSDmakefile
Config.in
LICENSE
Makefile build: refactor JSON info files to `profiles.json` 2020-04-03 12:17:45 +02:00
README build: switch to Python 3 2019-07-26 08:09:16 +02:00
feeds.conf.default feeds: add freifunk feed 2020-06-24 14:58:17 +02:00
rules.mk rules.mk: remove "$(STAGING_DIR)/include" 2019-11-02 20:51:56 +01:00

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| 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