Commit graph

183 commits

Author SHA1 Message Date
nbd
2fbbe49c0a scripts/config: sync with linux upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 14:33:53 +00:00
kaloz
a7e8cfc60c move menuconfig options into separate files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 14:30:40 +00:00
kaloz
3f207120ee drop stupid defaults
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 13:41:55 +00:00
kaloz
7972916582 add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 12:01:01 +00:00
kaloz
77d12ceb91 allow configuration of the target directory for binaries
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:39:41 +00:00
luka
15a0110d06 Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 01:35:22 +00:00
luka
e050a3726e image: don't force ubifs journal size
Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-14 01:35:21 +00:00
florian
d944f22b8e 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
844db040b9 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
87dfe307f1 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
4511c244aa 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
9e6a80b33b 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
e98fca4244 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
nbd
3cf32d404b 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
nbd
ef251217f1 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
nbd
f0be70afc3 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
dfcfafa57d 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
nbd
d97a184780 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
nbd
8dd41a3932 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
nbd
86517fffa9 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
6ff5fd994c 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
nbd
59283bbe81 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
5819352623 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
nbd
c3e88b0507 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
97aaf43ea7 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
jogo
adf2c1219e 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
cd05f1d422 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
nbd
9211713bc2 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
b70c4a85fb 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
2d123b6444 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
nbd
fb0a764394 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
nbd
cac6e3495f 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
ff8823632a 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
be92401dd3 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
nbd
e6a7439052 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
nbd
69f1464355 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
8925e35808 [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
nbd
30fb781412 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
nbd
ee5d875593 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
nbd
399689f5ea 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
nbd
e9d71373b8 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
nbd
640a498600 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
juhosg
48f3931df6 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
ccbddd6083 [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
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