1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
OpenWrt Source Repository https://openwrt.org/
Go to file
Jo-Philipp Wich e1d1c31890 opkg: vfork external gzip command to uncompress data
Opkg's builtin decompression code is unsuitable to process nested archives as
it uses a single shared state and relies on undefined seek behaviour for pipes.

Rework the extraction logic to use the external gzip command as I/O filter for
decompressing data and remove the builtin inflate code entirely.

This shrinks the final opkg binary by about 4KB and results in less runtime
memory consumption due to efficient use of vfork() and less copy-on-write
operations in the forked child.

Rework by Felix: create a thread that relays data to the gzip process
instead of using a fragile poll loop

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-12-27 09:50:00 +01:00
.github Add Issue submission template (redirect to bugs.lede-project.org) 2016-09-01 09:01:04 -04:00
config kernel: add KERNEL_DEVMEM and KERNEL_DEVKMEM 2016-12-24 14:55:35 +01:00
include build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION 2016-12-22 16:42:20 +01:00
package opkg: vfork external gzip command to uncompress data 2016-12-27 09:50:00 +01:00
scripts package/Makefile & ipkg-make-index.sh: add full package data list 2016-12-26 11:17:33 +01:00
target ppc44x: fix build of crypto4xx_core.c 2016-12-25 15:19:20 +01:00
toolchain musl: refresh patches 2016-12-26 11:17:33 +01:00
tools toolchain: remove ppl/cloog, disable graphite for gcc 4.8 2016-12-24 09:40:46 +01:00
.gitattributes
.gitignore
BSDmakefile
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
feeds.conf.default feeds: switch from github to lede-project.org mirrors 2016-08-01 22:34:18 +02:00
LICENSE
Makefile build: implement make check and make package/X/check 2016-12-17 10:36:25 +01:00
README README: Update project README 2016-05-12 03:29:36 +02:00
rules.mk build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION 2016-12-22 16:42:20 +01:00

This is the buildsystem for the LEDE Linux distribution.

Please use "make menuconfig" to choose your preferred
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.

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 LEDE Community
	http://www.lede-project.org