Commit Graph

164 Commits (3b7e47ae528f6c4e2854c41cc75f3cc0d8ffee33)

Author SHA1 Message Date
Felix Fietkau 71619ff53b Config.in: fix depends syntax
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-16 09:38:27 +00:00
Luka Perkov 7f53c44de2 Config.in: add options for putting kernel and dtb in rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-15 23:18:32 +00:00
Felix Fietkau 55c1859a9f Config.in: remove duplicate KERNEL_PERF_EVENTS symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-10 07:51:47 +00:00
Florian Fainelli eee6ca441c kernel: add KERNEL_FTRACE_SYSCALLS option
Newer kernels propose to trace system calls, add an option to allow just
that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-03 10:43:51 +00:00
Felix Fietkau 875f0ec22a kernel: add global menuconfig option to enable kexec support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-28 11:27:20 +00:00
Florian Fainelli 405fb366b1 include/image.mk: do not make initramfs build exclusive
Allow building initramfs along with other types of filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-27 19:58:35 +00:00
Jonas Gorski 982f0f3386 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-06-05 20:58:03 +00:00
Luka Perkov d060cbe0af Config.in: expose symbols specific to lxc in separate item
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-17 11:27:20 +00:00
Felix Fietkau 30e9f35428 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-09 20:50:49 +00:00
Luka Perkov 39f119008c Config.in: update options for cgroups and namespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 15:16:49 +00:00
Luka Perkov e76c2fc6d6 Config.in: fix formating
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-03 15:16:48 +00:00
Felix Fietkau cb58f98b3e build: add a CONFIG_MODULES symbol for compatibility with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:49 +00:00
Felix Fietkau ab8468d344 build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 15:36:41 +00:00
Florian Fainelli 0e46f3a053 buildroot: enable software floating point for MIPS64 targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:36:09 +00:00
Florian Fainelli e861f11c45 buildroot: allow enabling MIPS16 user-space build
Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 12:36:12 +00:00
Felix Fietkau 6e10211b71 kernel: remove the BROKEN dependency on the kernel export symbol strip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 14:51:38 +00:00
Felix Fietkau 9fe45e941a mac80211: update to wireless-testing 2013-02-22
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-23 01:12:36 +00:00
Florian Fainelli 07714a8422 [buildroot] allow using sstrip with musl
There was no particular reason for it to be disabled so allow it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 23:05:43 +00:00
Felix Fietkau 37b7f67d00 build: fix the strip default for musl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:16:55 +00:00
Felix Fietkau b4fb2a8735 kernel: turn on kallsyms and debug info by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 16:13:43 +00:00
Felix Fietkau 6897be4df7 kernel: fix enabling coredump support on 3.7+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 11:33:39 +00:00
Felix Fietkau 615af2e3f1 kernel: add a config option for direct i/o support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-03 18:52:15 +00:00
Felix Fietkau b828def1b8 build: disable kernel export strip until it is fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-16 21:34:31 +00:00
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