1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:37:10 +02:00
Commit Graph

139 Commits

Author SHA1 Message Date
juhosg
f80deda3fe 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
64b2651354 [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
nbd
66898596e6 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
jow
fb480b73a7 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
nbd
48e426d185 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
nbd
1be0626273 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
nbd
bf0b41e5aa 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
nbd
6c383cf512 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
nbd
1f87d10e85 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
jow
ca83d1d89e [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
jow
da93f7edd2 [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
nbd
7b71f99fda 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
nbd
eb1c7a641f 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
nbd
ba9de6d884 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
mb
3e70eebc22 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
nbd
32b9ee0930 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
jogo
31fd8cb5e2 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
blogic
1b760ca1fc [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
jow
e2b9e1a026 [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
nbd
0b3230ff77 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
nbd
603e795289 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
nbd
d212a08b1c 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
nbd
55dc011f6f 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
nbd
444bd44390 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
blogic
913081d31b 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
nbd
bf4ead1771 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
nbd
8ffb9e04f3 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
nbd
5c24c14594 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
jow
f65c64f25e [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
jow
1db1d443f3 [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
kaloz
d544567329 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
kaloz
825f13453e 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
kaloz
0835d732ce 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
nbd
a894d030b6 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
kaloz
be413f5248 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
mb
a26814e6d6 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
mb
2e7a683019 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
mb
9d3a35f2c7 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
mb
c7ee63dd76 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
nico
9db606b207 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
nbd
7b7e4702ef 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
nbd
12a6034cab 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
nbd
0859bbd9dd 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
nico
cf99c0544b 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
nico
f19762f44d 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
nico
fc2b3ea6b4 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
nico
85095e9f19 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
a6e45d5923 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
juhosg
439805b1a9 select LZMA compressed initramfs by default for ramips
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-31 09:58:29 +00:00
nbd
c993669cc4 remove support for DEBUG_DIR, it has lost its purpose since STAGING_DIR_ROOT was added
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:43:05 +00:00