Commit Graph

141 Commits (7f4fd427f8fe846b9f7ec770f2524f96e5d10e46)

Author SHA1 Message Date
Gabor Juhos 634248277a Change default TARGET_ROOTFS_RESERVED_PCT to zero to avoid wasted space
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 13:04:01 +00:00
Florian Fainelli 3370969c29 [buildroot] disable sstrip when using musl
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 21:43:05 +00:00
Gabor Juhos 2dfb18cc0b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 17:37:15 +00:00
Florian Fainelli a91e0d20c2 [buildroot] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:07 +00:00
Felix Fietkau 9afeebbea7 toolchain: enable parallel build for uClibc, remove the obsolete TOOLCHAIN_PARALLEL config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 13:03:08 +00:00
Jo-Philipp Wich 4523147c94 Config.in: add Global Build options to enable cgroups and namespaces in the kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 20:44:16 +00:00
Felix Fietkau 7bb6460a5d x86: remove grub-legacy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:56 +00:00
Felix Fietkau ea575c9316 x86: add grub2 iso support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:52 +00:00
Felix Fietkau 0a0e654963 build: turn on package parallel builds by default and fix descriptions.
By default, this is only used when building with make -j.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 18:09:41 +00:00
Felix Fietkau 9c44a20ec1 kernel: enable perf events when enabling profiling, fixes oprofile on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:14 +00:00
Felix Fietkau 397d1a3496 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:24 +00:00
Jo-Philipp Wich 5890787733 [buildroot] make static host utility linking default to off
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:31:31 +00:00
Jo-Philipp Wich 3a437178dc [buildroot] introduce a menuconfig option to turn off static linking of host utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 00:26:34 +00:00
Felix Fietkau fd52ba43a1 config: tag parallel build options with high build breakage probability with a BROKEN dependency to discourage users from spamming us with tickets about them
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-30 21:44:12 +00:00
Felix Fietkau 0ec23389f8 build: add a config option for choosing the prefered standard c++ library and add uclibc++.mk to make this easy to handle in packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:26:04 +00:00
Felix Fietkau a178df6dde Config.in: remove obsolete dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32366 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-14 20:25:43 +00:00
Michael Büsch d333dd1571 Fix early printk compile on ARM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-08 19:59:14 +00:00
Felix Fietkau 556a289006 kernel: make tracing support configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:25:57 +00:00
Jonas Gorski f357674b30 make xz ramdisk images also available for 2.6.39+
2.6.38 isn't the only kernel supporting it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-18 15:14:05 +00:00
John Crispin 9bea396d2f [image] define external cpio
Allow building image with an external cpio

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-05 14:33:04 +00:00
Jo-Philipp Wich a13cb527c9 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
Felix Fietkau 520d62a2e8 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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-22 08:45:13 +00:00
Felix Fietkau 4544a9f4b3 kernel: add a configuration option for enabling printk timestamps (#10503)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-29 08:52:22 +00:00
Felix Fietkau bb2e9e6c50 kernel: add a top level menuconfig option for enabling lockdep
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:32:57 +00:00
Felix Fietkau bbb6f7a82d kernel: add a top level menuconfig option for enabling core dump support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-04 01:05:06 +00:00
Felix Fietkau 0102ad4ea0 build system: add a feature that allows you to pull sources from a git tree instead of the usual tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-09 16:33:59 +00:00
John Crispin 12b33b7a94 add menuconfig option to enable log files during build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-03 17:37:31 +00:00
Felix Fietkau e7fcf19e52 add a kernel config option for magic sysrq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-17 23:14:12 +00:00
Felix Fietkau 804e441412 fix wrong copy&paste in the helptext for kernel AIO support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 20:06:05 +00:00
Felix Fietkau db44f35162 kernel: make AIO support configurable (disabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-27 19:52:48 +00:00
Jo-Philipp Wich 096152da58 [buildroot] prepare support for libiconv, libintl stub/full switching
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-02 01:26:19 +00:00
Jo-Philipp Wich 2bfa03e5ce [toolchain] remove support for disabling large file support, it is broken, breaks compatibility to anything and has no effect on most packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-28 17:00:43 +00:00
Imre Kaloz 71cec38f69 2.6.38 supports xz ramdisks, too
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-24 06:41:11 +00:00
Imre Kaloz 00da58c6ae remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz c1725149e1 switch from ext2 to ext4 (w/o) journaling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 12:12:39 +00:00
Felix Fietkau 4bee541877 make the display support feature flag selectable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-02 16:26:57 +00:00
Imre Kaloz 0fdc96aba9 as we only support 2.6, remove the useless bool for it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:19:00 +00:00
Michael Büsch ef39b40498 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:54:07 +00:00
Michael Büsch 67edf6121e Add support for enabling early printk.
Currently only for ARM, because I don't know what EARLY_PRINTK depends on on other architectures.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 16:27:02 +00:00
Michael Büsch d8f3c30df1 Add an option to default the default build rule to parallel build.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-20 14:48:59 +00:00
Michael Büsch 78ae653e01 Support parallel build of certain packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-18 13:57:58 +00:00
Nicolas Thill ea27eb515b fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-01 14:37:19 +00:00
Felix Fietkau 0bc00cc460 add a build system option for collecting all kernel debug information (including modules) in a tarball
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 15:18:24 +00:00
Felix Fietkau dbfe36431d add a config option for enabling kernel debugging symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 14:34:22 +00:00
Felix Fietkau de8deb8a3a enable ipv6 support for packages by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 18:45:29 +00:00
Nicolas Thill 560f2614b5 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-05 01:52:54 +00:00
Nicolas Thill 1d7657531b buildsystem: rearrange main config options, reorder, move stripping items to a "Stripping options" subsection,
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 17:37:32 +00:00
Nicolas Thill 8b1974bdad buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:47:43 +00:00
Nicolas Thill f696b88feb images: allow generating .cpio.gz and/or .tar.gz archives whether ramdisk is selected or not
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-28 14:27:03 +00:00
Mirko Vogt fadf538780 add "patented"-build flag to allow packages being with and without patented technology
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 17:19:40 +00:00