openwrtv4/include
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
..
site add preliminary support for musl 2012-11-23 20:02:29 +00:00
autotools.mk autotools.mk: add a gettext-version PKG_FIXUP (#11236) 2012-10-10 17:53:51 +00:00
cmake.mk cmake: add support for V=cs 2012-04-26 17:54:03 +00:00
debug.mk build: undefine debug helper templates used by subdir.mk if the DEBUG variable is empty, speeds up "make prereq" by 25% when lots of packages are installed 2011-04-03 03:40:01 +00:00
depends.mk change the recursive dependency template to use more make evaluation - the shell command got so long that it triggered "Argument list too long" on some systems (#8231) 2010-11-24 14:07:12 +00:00
download.mk download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided 2012-06-06 13:45:53 +00:00
host-build.mk build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir 2012-10-15 13:19:41 +00:00
host.mk host.mk: introduce PATCH which refers to either gpatch or patch 2010-10-07 11:33:12 +00:00
image.mk build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 2012-11-29 17:37:15 +00:00
kernel-build.mk kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case 2011-10-03 11:33:13 +00:00
kernel-defaults.mk use xz compressed kernel tarballs 2012-11-18 08:49:08 +00:00
kernel-version.mk kernel: update linux 3.6 to 3.6.8 2012-11-29 07:42:19 +00:00
kernel.mk include: use $(DIR_SUFFIX) in $(KERNEL_BUILD_DIR) to separate build_dir/linux-* directories when building different libc implementations in the same buildroot 2012-11-22 13:43:24 +00:00
ltqtapi.mk unify tapi deps 2012-08-13 11:08:13 +00:00
netfilter.mk kernel: fix loading of nf_nat_irc 2012-11-18 21:18:37 +00:00
nls.mk nls.mk: fix build dependency on gettext (#11829) 2012-07-11 10:05:00 +00:00
package-bin.mk only build bin packages for the selected build variants (same behaviour as with ipkg builds) 2010-05-15 15:57:00 +00:00
package-defaults.mk build: allow the package maintainer info to be specified globally for a source package 2012-10-08 11:40:57 +00:00
package-dumpinfo.mk build: add a dependency on libc to all non-kernel packages 2012-06-10 20:27:37 +00:00
package-ipkg.mk buildroot: isolate the .install stamp files for build variants (#12279) 2012-11-07 16:15:22 +00:00
package-version-override.mk use autoreconf hook instead of manual call 2012-07-25 10:34:06 +00:00
package.mk buildroot: isolate the .install stamp files for build variants (#12279) 2012-11-07 16:15:22 +00:00
prereq-build.mk prereq-build.mk: do not perform static linking tests on Darwin 2012-08-12 12:34:28 +00:00
prereq.mk some minor fixes, cleanups, package build abstraction 2007-09-28 01:23:56 +00:00
quilt.mk quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure 2012-02-13 15:31:28 +00:00
scan.mk build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on 2011-04-06 14:48:59 +00:00
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh clean up md5s() shell function 2008-09-02 10:57:51 +00:00
subdir.mk log failed package builds 2012-06-04 18:29:29 +00:00
target.mk target: add a feature flag for RTC support 2012-05-17 15:28:09 +00:00
toolchain-build.mk toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol 2012-10-17 13:03:08 +00:00
toplevel.mk build: increase file descriptor count limit for the build, some systems (e.g. Mac OS X default to 256, which is too little for some parallel builds) 2012-10-31 00:23:47 +00:00
uclibc++.mk make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP 2012-10-24 13:05:10 +00:00
unpack.mk speed up the build system by including include/shell.sh on shell commands only where necessary 2010-08-19 12:49:37 +00:00
verbose.mk build: fix bad file descriptor issues with the verbosity changes 2012-04-26 18:13:17 +00:00
version.mk version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists 2012-09-24 18:26:48 +00:00