Commit graph

108 commits

Author SHA1 Message Date
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
Florian Fainelli
0678ef7609 hide C++ standard library selection behind INSTALL_LIBSTDCPP
If our toolchain is not configured to support C++, it is pointless choosing
a particular C++ standard library implementation.

SVN-Revision: 33907
2012-10-24 13:05:07 +00:00
Felix Fietkau
c6ba19c70e toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
SVN-Revision: 33807
2012-10-17 13:03:08 +00:00
Jo-Philipp Wich
3cdcf8babb Config.in: add Global Build options to enable cgroups and namespaces in the kernel
SVN-Revision: 33714
2012-10-10 20:44:16 +00:00
Felix Fietkau
0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau
a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
2012-10-07 23:01:52 +00:00
Felix Fietkau
c02bd635b2 build: turn on package parallel builds by default and fix descriptions.
By default, this is only used when building with make -j.

SVN-Revision: 33582
2012-09-28 18:09:41 +00:00
Felix Fietkau
c4a419b445 kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
2012-09-20 20:27:14 +00:00
Felix Fietkau
be6f437649 build: add a config option for passing the top-level make jobserver to packages that have parallel build enabled, significantly improves parallelization and gets rid of CPU overcommit during intra-package parallel builds
SVN-Revision: 33414
2012-09-15 10:21:24 +00:00
Jo-Philipp Wich
12b3909f1b make static host utility linking default to off
SVN-Revision: 33197
2012-08-15 13:31:31 +00:00
Jo-Philipp Wich
29b91ef01a introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
2012-08-13 00:26:34 +00:00
Felix Fietkau
0653efa98d config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them
SVN-Revision: 32559
2012-06-30 21:44:12 +00:00
Felix Fietkau
cf788fc731 build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
SVN-Revision: 32369
2012-06-14 20:26:04 +00:00
Felix Fietkau
4c1a994fd6 Config.in: remove obsolete dependency
SVN-Revision: 32366
2012-06-14 20:25:43 +00:00
Michael Büsch
f0bd6aeade Fix early printk compile on ARM
SVN-Revision: 32130
2012-06-08 19:59:14 +00:00
Felix Fietkau
ce1d4d7ee9 kernel: make tracing support configurable
SVN-Revision: 32085
2012-06-06 15:25:57 +00:00
Jonas Gorski
e640bc8ca4 make xz ramdisk images also available for 2.6.39+
2.6.38 isn't the only kernel supporting it.

SVN-Revision: 31343
2012-04-18 15:14:05 +00:00
John Crispin
032f3ea5e7 define external cpio
Allow building image with an external cpio

Signed-off-by: Tathagata Das <tathagata@alumnux.com>

SVN-Revision: 31204
2012-04-05 14:33:04 +00:00
Jo-Philipp Wich
d22adb1b06 if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
SVN-Revision: 29633
2012-01-01 15:11:11 +00:00
Felix Fietkau
246986cdb1 kernel: enable magic sysrq by default, it does not add much to the kernel image size, but is useful for debugging many kinds of hangs/crashes
SVN-Revision: 29600
2011-12-22 08:45:13 +00:00
Felix Fietkau
f656990897 kernel: add a configuration option for enabling printk timestamps (#10503)
SVN-Revision: 29353
2011-11-29 08:52:22 +00:00
Felix Fietkau
b06efd636a kernel: add a top level menuconfig option for enabling lockdep
SVN-Revision: 28848
2011-11-08 00:32:57 +00:00
Felix Fietkau
18a4bbb98d kernel: add a top level menuconfig option for enabling core dump support
SVN-Revision: 28744
2011-11-04 01:05:06 +00:00
Felix Fietkau
874622d004 build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
SVN-Revision: 28394
2011-10-09 16:33:59 +00:00
John Crispin
4551f2bfcc add menuconfig option to enable log files during build process
SVN-Revision: 27403
2011-07-03 17:37:31 +00:00
Felix Fietkau
4e2339b032 add a kernel config option for magic sysrq
SVN-Revision: 26214
2011-03-17 23:14:12 +00:00
Felix Fietkau
7ae115eac6 fix wrong copy&paste in the helptext for kernel AIO support
SVN-Revision: 25772
2011-02-27 20:06:05 +00:00
Felix Fietkau
5a56b0fe35 kernel: make AIO support configurable (disabled by default)
SVN-Revision: 25769
2011-02-27 19:52:48 +00:00
Jo-Philipp Wich
1ada513817 prepare support for libiconv, libintl stub/full switching
SVN-Revision: 25302
2011-02-02 01:26:19 +00:00
Jo-Philipp Wich
3052dfbb85 remove support for disabling large file support, it is broken, breaks compatibility to anything and has no effect on most packages
SVN-Revision: 25208
2011-01-28 17:00:43 +00:00
Imre Kaloz
832fc4a133 2.6.38 supports xz ramdisks, too
SVN-Revision: 25080
2011-01-24 06:41:11 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz
4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Felix Fietkau
8d40973058 make the display support feature flag selectable
SVN-Revision: 23791
2010-11-02 16:26:57 +00:00
Imre Kaloz
27a1e6cc6a as we only support 2.6, remove the useless bool for it
SVN-Revision: 23246
2010-10-05 14:19:00 +00:00
Michael Büsch
cf323eb924 optionally support parallel toolchain build. This defaults to off, because certain toolchain versions are known to break on parallel build. However, it significantly speeds up the build and latest versions of the tools do compile fine.
SVN-Revision: 23196
2010-10-03 12:54:07 +00:00
Michael Büsch
e7c83f6d59 Add support for enabling early printk. Currently only for ARM, because I don't know what EARLY_PRINTK depends on on other architectures.
SVN-Revision: 23071
2010-09-15 16:27:02 +00:00
Michael Büsch
fde498904f Add an option to default the default build rule to parallel build.
SVN-Revision: 22737
2010-08-20 14:48:59 +00:00
Michael Büsch
7ed7784f59 Support parallel build of certain packages
SVN-Revision: 22696
2010-08-18 13:57:58 +00:00
Nicolas Thill
4ed248bbef fix typo
SVN-Revision: 22453
2010-08-01 14:37:19 +00:00
Felix Fietkau
fd8142403e add a build system option for collecting all kernel debug information (including modules) in a tarball
SVN-Revision: 22327
2010-07-21 15:18:24 +00:00
Felix Fietkau
5d78ef446a add a config option for enabling kernel debugging symbols
SVN-Revision: 22325
2010-07-21 14:34:22 +00:00
Felix Fietkau
ac5279e6bc enable ipv6 support for packages by default
SVN-Revision: 22176
2010-07-13 18:45:29 +00:00
Nicolas Thill
5403c59f57 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
SVN-Revision: 21362
2010-05-05 01:52:54 +00:00
Nicolas Thill
e86e41d663 buildsystem: rearrange main config options, reorder, move stripping items to a "Stripping options" subsection,
SVN-Revision: 21239
2010-04-28 17:37:32 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Nicolas Thill
7992df3721 images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
SVN-Revision: 21237
2010-04-28 14:27:03 +00:00
Mirko Vogt
a34c4b6ec6 add "patented"-build flag to allow packages being with and without patented technology
SVN-Revision: 21050
2010-04-20 17:19:40 +00:00
Gabor Juhos
7e5ae61e45 select LZMA compressed initramfs by default for ramips
SVN-Revision: 20630
2010-03-31 09:58:29 +00:00
Felix Fietkau
15fecc9e6c remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
SVN-Revision: 19849
2010-02-24 23:43:05 +00:00