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
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
12 years ago
docs update switch documentation 12 years ago
include build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 12 years ago
package uboot-kirkwood: build in $(BUILD_DIR) 12 years ago
scripts add preliminary support for musl 12 years ago
target ramips: rt305x: add profile and build image for the Asus RT-N13U 12 years ago
toolchain musl: backport an upstream fix for MIPS and termios constants 12 years ago
tools ipkg-utils: Force gnu format for tar (#12496) 12 years ago
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 12 years ago
.gitignore .gitignore: Ignore Emacs editor generated files 13 years ago
BSDmakefile add missing copyright header 17 years ago
Config.in build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 12 years ago
LICENSE finally move buildroot-ng to trunk 8 years ago
Makefile Makefile: add a check to bail out early when the path to the openwrt directory contains spaces (#12344) 12 years ago
README trying to make README file a bit more helpful 12 years ago
feeds.conf.default Add xorg feed to feeds.conf.default 13 years ago
rules.mk rules.mk: fix misspelled config symbol introduced by r34300 12 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,
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