Commit Graph

176 Commits (46c0a79b2c06f634418a8eda454184a8ddd0bdc6)

Author SHA1 Message Date
Florian Fainelli 1596af3c54 buildroot: add lz4 initramfs compression option
LZ4 compression is now available with 3.12 kernels offer it as an
option.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-25 01:48:10 +00:00
Florian Fainelli bf6998b89d buildroot: split Kernel config options to Config-kernel.in
The number of Linux kernel related config options has become quite big
over the past few months, they deserve their own Config-kernel.in file.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38524 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-24 00:28:33 +00:00
Luka Perkov d2e4a93ce8 Config.in: add more options when it comes to including kernel image into rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23 22:16:10 +00:00
Luka Perkov fd9d6b9a97 build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-17 15:45:41 +00:00
Luka Perkov 7c37d1e787 build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-16 21:23:24 +00:00
Luka Perkov 69507e8413 build: extend menu with few ubifs options
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-04 10:49:47 +00:00
Felix Fietkau 7801793fac build: enable MIPS16 again, but make it depend on !gcc-4.6
gcc 4.6 miscompiles hostapd with mips16, on gcc 4.8 it works

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 14:40:06 +00:00
Felix Fietkau 1ed7800d71 Revert "build: enable MIPS16 by default if available"
This reverts commit r37926.
It seems to trigger some weird issues in hostapd that should be
investigated first

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 12:33:21 +00:00
Felix Fietkau 54a1b05758 build: enable MIPS16 by default if available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-10 12:09:07 +00:00
Luka Perkov b417602bf5 Config.in: improve wording for kernel/DT inclusion flags
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-28 00:07:40 +00:00
Felix Fietkau 01695667a8 build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 09:38:29 +00:00
Felix Fietkau 17e4d34085 kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 11:55:30 +00:00
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