OpenWrt Source Repository
Go to file
Gabor Juhos d90e805fe6 build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space
The genext2fs tool will 'reserve' 5% of the image size by default,
apparently by creating a huge lost+found directory. In fact it seemed to
be much more than 5% in practice — I saw an image with 8MiB used, and
recovered about 2MiB of it by deleting the 'empty' lost+found directory:

/dev/loop0         48377  8482     37438  19% /mnt/spare
 # rmdir lost+found/
/dev/loop0         48377  6014     39906  14% /mnt/spare

This makes it configurable, but leaves it at the genext2fs default
of 5% for now. It should probably be changed to default to zero, but
that can be a separate patch.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34408
2012-11-29 17:37:15 +00:00
docs update switch documentation 2012-10-12 12:13:56 +00:00
include build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 2012-11-29 17:37:15 +00:00
package uboot-kirkwood: build in $(BUILD_DIR) 2012-11-29 01:04:37 +00:00
scripts add preliminary support for musl 2012-11-23 20:02:29 +00:00
target ramips: rt305x: add profile and build image for the Asus RT-N13U 2012-11-29 17:37:14 +00:00
toolchain musl: backport an upstream fix for MIPS and termios constants 2012-11-23 22:43:11 +00:00
tools ipkg-utils: Force gnu format for tar (#12496) 2012-11-19 19:29:01 +00: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
BSDmakefile
Config.in build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 2012-11-29 17:37:15 +00:00
LICENSE
Makefile Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344) 2012-10-21 02:00:11 +00:00
README trying to make README file a bit more helpful 2012-01-21 01:15:24 +00:00
feeds.conf.default Add xorg feed to feeds.conf.default 2011-11-16 16:05:23 +00:00
rules.mk rules.mk: fix misspelled config symbol introduced by r34300 2012-11-23 10:12:18 +00:00

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,
make, gettext, pkg-config, unzip, libz-dev and libc headers.

Run "./scripts/feeds update" to get the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install" to install symlinks 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.

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.

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 OpenWrt Project
	http://openwrt.org