OpenWRT firmware for routers
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Felix Fietkau 679cab88fe Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn revision, remove obsolete patches.
Memory leak is caused by the way hotplug2 handles environment variables,
using setenv() and unsetenv(). setenv() creates copies of the supplied
strings, but, due to a POSIX blunder, these copies are never destroyed
by unsetenv(), neither in glibc nor uclibc - not until the program
terminates.

Since some events are handled directly in the main process, even when
configured with the "fork" worker, hotplug2 memory usage will keep
growing over time. This can be observed by running "udevtrigger" and
noting the increase in hotplug2 VmRSS after each run.

This patch uses putenv() instead, which leaves storage management to
the caller, so that we can explicitly delete stuff when it's no longer
needed.

Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs>

SVN-Revision: 18725
15 years ago
docs Add documentation for passphrase option. 15 years ago
include iptables: add comment match to the core package 15 years ago
package Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the latest svn revision, remove obsolete patches. 15 years ago
scripts metadata.pl: fix menuconfig code for package features 15 years ago
target ar71xx: sync kernel configs 15 years ago
toolchain fix gcc version selection for octeon 15 years ago
tools ar71xx: TL-WR1043ND support cleanup 15 years ago
.gitignore add logs/ to .gitignore 15 years ago
BSDmakefile add missing copyright header 18 years ago
Config.in make lzo compressed initramfs selectable, too 15 years ago
LICENSE finally move buildroot-ng to trunk 8 years ago
Makefile add a "make prepare" target which builds everything up to target/compile, useful for scripts/deptest.sh 15 years ago
README change readme to point to scripts/flashing/flash.sh instead of scripts/flash.sh 16 years ago
feeds.conf.default switch back to LuCI main repo 15 years ago
rules.mk oops, forgot one small change in the last commit 15 years ago

README

This is the buildsystem for the OpenWrt Linux distribution

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, patch, bzip2, flex, bison,
make, gettext, pkg-config, unzip, libz-dev and libc headers.

Simply running 'make' will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

You can use scripts/flashing/flash.sh for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type make -C docs/ to build it.

Building your own firmware you need to have access to a Linux, BSD or MacOSX system.
Cygwin will not be supported because of the lack of case sensitiveness.

Sunshine!
	Your OpenWrt Project
	http://openwrt.org