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.
openwrt/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
12 years ago
..
site add preliminary support for musl 12 years ago
autotools.mk autotools.mk: add a gettext-version PKG_FIXUP (#11236) 12 years ago
cmake.mk cmake: add support for V=cs 12 years ago
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 13 years ago
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) 14 years ago
download.mk download.mk: refuse to download mirror tarballs from packages using version control if no mirror md5sum was provided 12 years ago
host-build.mk build: fix host build stampfile usage, fixes spurious errors with missing opkg host binary after deleting the staging dir 12 years ago
host.mk host.mk: introduce PATCH which refers to either gpatch or patch 14 years ago
image.mk build: Add TARGET_ROOTFS_RESERVED_PCT option to reduce wasted space 12 years ago
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 13 years ago
kernel-defaults.mk use xz compressed kernel tarballs 12 years ago
kernel-version.mk kernel: update linux 3.6 to 3.6.8 12 years ago
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 12 years ago
ltqtapi.mk unify tapi deps 12 years ago
netfilter.mk kernel: fix loading of nf_nat_irc 12 years ago
nls.mk nls.mk: fix build dependency on gettext (#11829) 12 years ago
package-bin.mk only build bin packages for the selected build variants (same behaviour as with ipkg builds) 14 years ago
package-defaults.mk build: allow the package maintainer info to be specified globally for a source package 12 years ago
package-dumpinfo.mk build: add a dependency on libc to all non-kernel packages 12 years ago
package-ipkg.mk buildroot: isolate the .install stamp files for build variants (#12279) 12 years ago
package-version-override.mk use autoreconf hook instead of manual call 12 years ago
package.mk buildroot: isolate the .install stamp files for build variants (#12279) 12 years ago
prereq-build.mk prereq-build.mk: do not perform static linking tests on Darwin 12 years ago
prereq.mk some minor fixes, cleanups, package build abstraction 17 years ago
quilt.mk quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure 12 years ago
scan.mk build: log package dump failures to logs to avoid forcing user to write cryptic commands to figure out what's going on 13 years ago
scons.mk fix up scons vs ccache 12 years ago
shell.sh clean up md5s() shell function 16 years ago
subdir.mk log failed package builds 12 years ago
target.mk target: add a feature flag for RTC support 12 years ago
toolchain-build.mk toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol 12 years ago
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) 12 years ago
uclibc++.mk make CXX_DEPENDS also depend on INSTALL_LIBSTDCPP 12 years ago
unpack.mk speed up the build system by including include/shell.sh on shell commands only where necessary 14 years ago
verbose.mk build: fix bad file descriptor issues with the verbosity changes 12 years ago
version.mk version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists 12 years ago