Go to file
Jo-Philipp Wich 0090adcd5c 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-26 11:17:32 +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-26 11:17:32 +01:00
scripts scripts/update-package-md5sum: remove file, it is obsoleted by make check FIXUP=1 2016-12-17 10:37:00 +01:00
target ppc44x: fix build of crypto4xx_core.c 2016-12-25 15:19:20 +01:00
toolchain toolchain/gcc: update 6.x to 6.3.0 2016-12-24 12:02:10 +01:00
tools toolchain: remove ppl/cloog, disable graphite for gcc 4.8 2016-12-24 09:40:46 +01:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
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
feeds.conf.default feeds: switch from github to lede-project.org mirrors 2016-08-01 22:34:18 +02:00
rules.mk build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION 2016-12-22 16:42:20 +01:00

README

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