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
Imre Kaloz
7b367d0313
with no users left, remove support for 2.6.21
...
SVN-Revision: 19578
2010-02-11 08:37:57 +00:00
Nicolas Thill
0f3c406bdb
add a config item to specify arguments to strip
...
SVN-Revision: 19270
2010-01-22 08:12:20 +00:00
Lars-Peter Clausen
db06ca593b
Add support for building ubifs images.
...
SVN-Revision: 19097
2010-01-11 01:10:45 +00:00
Imre Kaloz
29a020ffb3
remove handling of older unsupported kernels
...
SVN-Revision: 18955
2009-12-27 21:54:09 +00:00
Florian Fainelli
30d69f1970
partially revert [18830]: stripped packages are still usefull when debugging with gdbserver, update CONFIG_DEBUG description and disable sstrip when CONFIG_DEBUG is selected
...
SVN-Revision: 18886
2009-12-22 12:27:58 +00:00
Florian Fainelli
7f180b7e2c
disable stripping when compiling with debug info ( closes : #6373 )
...
SVN-Revision: 18885
2009-12-22 12:27:55 +00:00
Nicolas Thill
7aa14fbc1c
partially revert [18830]: stripped packages are still usefull when debugging with gdbserver, update CONFIG_DEBUG description and disable sstrip when CONFIG_DEBUG is selected
...
SVN-Revision: 18831
2009-12-18 17:10:40 +00:00
Nicolas Thill
8f83105e22
disable stripping when compiling with debug info ( closes : #6373 )
...
SVN-Revision: 18830
2009-12-18 16:59:04 +00:00
Imre Kaloz
0ebb9220a0
make lzo compressed initramfs selectable, too
...
SVN-Revision: 18457
2009-11-21 15:20:11 +00:00
Felix Fietkau
44aa03f2f9
Add a target (CONFIG_MAKE_CONFIG) that creates an exportable toolchain. The toolchain will zipped and saved under $(TOPDIR)/bin directory.
...
Signed-off-by: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com>
SVN-Revision: 18419
2009-11-14 17:51:32 +00:00
Nicolas Thill
c9bc7c504c
add external toolchain support, enhance native toolchain support (special thanks to Luigi Mantellini for his help... and patience ;)
...
SVN-Revision: 17682
2009-09-23 02:27:38 +00:00
Nicolas Thill
de9bb2b998
prepare for upcoming external toolchain support: move config items not strictly toolchain related out of the toolchain submenu
...
SVN-Revision: 17560
2009-09-10 14:04:41 +00:00
Gabor Juhos
f7033929fa
add menuconfig option for enabling debugfs support in the kernel
...
SVN-Revision: 17540
2009-09-08 07:25:20 +00:00
Felix Fietkau
b93e7e9515
do not forcibly disable stripping when selecting CONFIG_DEBUG, debugging symbols can be useful even if they are not put on the device (e.g. remote cross-gdb)
...
SVN-Revision: 17532
2009-09-06 19:56:54 +00:00
Gabor Juhos
e2f5de7a46
add menuconfig option for selecting initramfs compression
...
SVN-Revision: 17283
2009-08-16 05:35:34 +00:00
Felix Fietkau
bb5a40c64b
add an optional config option for stripping all unnecessary symbol exports from the kernel image
...
SVN-Revision: 17181
2009-08-08 14:22:04 +00:00
Felix Fietkau
b1a2f4b2b8
integrate mklibs.py support into the build process
...
SVN-Revision: 17173
2009-08-08 02:25:03 +00:00
Florian Fainelli
11e1304ca0
globally define IPv6 support or not in OpenWrt, just like for largefiles, ipv6 disabled by default ( #4857 )
...
SVN-Revision: 16983
2009-07-25 21:45:51 +00:00
Nicolas Thill
4702698c68
add a config option to select the binary stripping method to use (between none, strip & sstrip)
...
SVN-Revision: 16728
2009-07-07 02:34:58 +00:00
Hamish Guthrie
1b216aa20a
Add FEATURE ramdisk to be able to select the use of INITRAMFS for a sub-target
...
SVN-Revision: 14939
2009-03-18 15:57:18 +00:00
Ralph Hempel
6adb2d7d34
add the possibility to put the rootfs to another location (usefull to specify one dedicated NFS export share regardless where in the compute farm the build is done)
...
SVN-Revision: 14577
2009-02-20 10:38:08 +00:00
Lars-Peter Clausen
24f02449ff
Add menuconfig option for enabling profiling in the kernel.
...
SVN-Revision: 14272
2009-01-29 23:52:35 +00:00
Felix Fietkau
b271605228
add a menuconfig option for enabling KALLSYMS for the kernel
...
SVN-Revision: 14122
2009-01-20 21:09:04 +00:00
Felix Fietkau
eb1c4db039
add support for an optional staging directory for debug binaries
...
SVN-Revision: 14018
2009-01-13 03:21:25 +00:00
Felix Fietkau
ef6e3e880f
clean up build system settings and make some of them more accessible
...
SVN-Revision: 14017
2009-01-13 03:21:04 +00:00
Hamish Guthrie
86ac8bc7ea
Adds support for using a local clone of a git tree
...
SVN-Revision: 12941
2008-10-10 10:07:45 +00:00
Nicolas Thill
86ce5d1afe
fix build options in menuconfig: - move EXTERNAL_KERNEL_TREE & NO_STRIP from DEVEL to BUILDOPTS - remove BUILDSYSTEM_SETTINGS and move DOWNLOAD_FOLDER to DEVEL
...
SVN-Revision: 12592
2008-09-13 11:02:48 +00:00
Felix Fietkau
373e5f5e8d
add new option for enabling debugging symbols
...
SVN-Revision: 12591
2008-09-13 08:31:15 +00:00
John Crispin
c9d9f8045c
adds missing patch for native toolchain
...
SVN-Revision: 11425
2008-06-10 07:18:41 +00:00
Jens Muecke
b64c4c6b40
Update size and inodes of grup image
...
Enlarge default size of grup image for
X and other packages. OLPC also use this
grup image.
SVN-Revision: 11124
2008-05-12 19:00:46 +00:00
Gabor Juhos
5b3951bfbb
add feature flag for the cpio.gz support
...
SVN-Revision: 10311
2008-01-29 13:56:43 +00:00
Felix Fietkau
1a94a85970
remove old feeds stuff
...
SVN-Revision: 9991
2007-12-28 17:03:07 +00:00
Felix Fietkau
edbbf145d5
add cpio.gz support (patch from #2595 )
...
SVN-Revision: 9986
2007-12-28 15:46:01 +00:00
Felix Fietkau
e0a4e2a409
fix rootfs size selection
...
SVN-Revision: 9808
2007-12-20 01:53:13 +00:00
Eugene Konev
4735a0f5fe
add external kernel tree support
...
SVN-Revision: 9584
2007-11-20 13:21:01 +00:00
John Crispin
1a3c4d1090
add possibility to set default .config values
...
SVN-Revision: 9300
2007-10-14 02:15:37 +00:00
John Crispin
215fa7eb8b
added generation of x86 livecds, from #2391
...
SVN-Revision: 9191
2007-10-08 18:53:19 +00:00
Felix Fietkau
21a246d5d6
add option for cleaning all ipkg info before the image build
...
SVN-Revision: 9151
2007-10-05 21:52:05 +00:00
Nicolas Thill
d7fe0ca7a0
move the "BUILD_SUFFIX" options out of "SOURCE_FEEDS" options
...
SVN-Revision: 9102
2007-10-03 06:01:30 +00:00
Felix Fietkau
bec2fe7c6c
remove CONFIG_JLEVEL. use make -j in the future
...
SVN-Revision: 8237
2007-07-30 18:24:47 +00:00
Felix Fietkau
0fc8be8ade
add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07
...
SVN-Revision: 8181
2007-07-26 15:28:59 +00:00
Florian Fainelli
4ecbf2e252
Fix the automatic selection of ext2 when not using neither squashfs nor jffs2
...
SVN-Revision: 8075
2007-07-20 14:53:43 +00:00
Florian Fainelli
38c3a1299e
Add optionnal support for a BUILD_DIR suffix ( #2057 )
...
SVN-Revision: 8050
2007-07-19 12:09:52 +00:00
Florian Fainelli
19a52ea35d
Add a USES_TGZ config.in variable, so that RB1xx profiles can use it
...
SVN-Revision: 8039
2007-07-18 14:11:44 +00:00
Felix Fietkau
90237dd18c
Make UCI preconfiguration optional and disabled by default
...
SVN-Revision: 7095
2007-05-05 10:06:10 +00:00
Felix Fietkau
35967a174c
add a menuconfig option for specifying a local download mirror
...
SVN-Revision: 6877
2007-04-06 23:15:39 +00:00
Mike Baker
23efe5fc83
Tidy up Makefiles
...
SVN-Revision: 6857
2007-04-03 23:03:56 +00:00
Felix Fietkau
295d0a7e82
allow the user to change the rb532 rootfs size in menuconfig ( fixes #1374 )
...
SVN-Revision: 6417
2007-02-28 00:06:37 +00:00
Felix Fietkau
f30058fda2
add missing copyright header
...
SVN-Revision: 6383
2007-02-26 01:05:09 +00:00
Tim Yardley
fdea0fabd2
make maxinodes configureable for ext2
...
SVN-Revision: 6345
2007-02-22 22:35:08 +00:00