Commit Graph

157 Commits

Author SHA1 Message Date
Eneas U de Queiroz 009293c52e build: scripts/config - update to kconfig-v5.14
Functional Changes
---------- -------
- make 'imply' not impose any restrictions: allow symbols implied by y
  to become m
- change "modules" from sub-option to first-level attribute

Bugfixes
--------
- nconf: fix core dump when searching in empty menu
- nconf: stop endless search loops
- xconfig: fix content of the main widget
- xconfig: fix support for the split view mode

Other Changes
----- -------
- highlight xconfig 'comment' lines with '***'
- xconfig: navigate menus on hyperlinks
- xconfig: drop support for Qt4
- improve host ncurses detection

Update the 'option modules' usage to just 'modules' in Config.in.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-02-19 13:10:01 +01:00
Felix Fietkau 2d5b83197a build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols
This can be used to simplify host os tests in various places

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-11-01 16:37:52 +01:00
Paul Spooren a17b8eaa2e build: use SPDX license tags
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren <mail@aparcar.org>
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2021-02-05 14:54:47 +01:00
Zoltan HERPAI 34bbbbf9c3 merge: base: update base-files and basic config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2017-12-08 19:41:18 +01:00
John Crispin fa69553900 branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
2016-03-24 22:40:13 +01:00
Felix Fietkau a9f6941436 scripts/config: sync with linux upstream
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43873
2015-01-08 14:33:53 +00:00
Imre Kaloz 9fa3c68938 move menuconfig options into separate files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38895
2013-11-22 14:30:40 +00:00
Imre Kaloz eeba5d7b6d drop stupid defaults
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38894
2013-11-22 13:41:55 +00:00
Imre Kaloz f3e2331e18 add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38893
2013-11-22 12:01:01 +00:00
Imre Kaloz f0721fa502 allow configuration of the target directory for binaries
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38890
2013-11-22 09:39:41 +00:00
Luka Perkov d15107fe23 Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38800
2013-11-14 01:35:22 +00:00
Luka Perkov b4ecda7b3f 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>

SVN-Revision: 38799
2013-11-14 01:35:21 +00:00
Florian Fainelli 5c483e5e2f 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>

SVN-Revision: 38534
2013-10-25 01:48:10 +00:00
Florian Fainelli 4341ea4037 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>

SVN-Revision: 38524
2013-10-24 00:28:33 +00:00
Luka Perkov 0c5c12a042 Config.in: add more options when it comes to including kernel image into rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38517
2013-10-23 22:16:10 +00:00
Luka Perkov 59eb6137dd build: drop FIT option until we actually need it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38439
2013-10-17 15:45:41 +00:00
Luka Perkov cc1b164634 build: add menuconfig option for building FIT images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38431
2013-10-16 21:23:24 +00:00
Luka Perkov 9051e79bc2 build: extend menu with few ubifs options
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38303
2013-10-04 10:49:47 +00:00
Felix Fietkau 35d2b601aa 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>

SVN-Revision: 37932
2013-09-10 14:40:06 +00:00
Felix Fietkau 7198523e6e 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

SVN-Revision: 37928
2013-09-10 12:33:21 +00:00
Felix Fietkau 0f3134216d build: enable MIPS16 by default if available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37926
2013-09-10 12:09:07 +00:00
Luka Perkov 96de55fa98 Config.in: improve wording for kernel/DT inclusion flags
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 37851
2013-08-28 00:07:40 +00:00
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Felix Fietkau 94439c2b5d 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>

SVN-Revision: 37491
2013-07-21 11:55:30 +00:00
Felix Fietkau 87587736e2 Config.in: fix depends syntax
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37367
2013-07-16 09:38:27 +00:00
Luka Perkov dcd1741912 Config.in: add options for putting kernel and dtb in rootfs
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37358
2013-07-15 23:18:32 +00:00
Felix Fietkau 60abecf605 Config.in: remove duplicate KERNEL_PERF_EVENTS symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37222
2013-07-10 07:51:47 +00:00
Florian Fainelli 39d8eee6a1 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>

SVN-Revision: 37146
2013-07-03 10:43:51 +00:00
Felix Fietkau 7acb84dde7 kernel: add global menuconfig option to enable kexec support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37073
2013-06-28 11:27:20 +00:00
Florian Fainelli f5a0a578f8 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>

SVN-Revision: 37050
2013-06-27 19:58:35 +00:00
Jonas Gorski 9f7ef8d5f0 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>

SVN-Revision: 36860
2013-06-05 20:58:03 +00:00
Luka Perkov 058d074f87 Config.in: expose symbols specific to lxc in separate item
SVN-Revision: 36650
2013-05-17 11:27:20 +00:00
Felix Fietkau 2430e9a4f5 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>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Luka Perkov f54a6df1e1 Config.in: update options for cgroups and namespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36539
2013-05-03 15:16:49 +00:00
Luka Perkov 02d4ea2774 Config.in: fix formating
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36538
2013-05-03 15:16:48 +00:00
Felix Fietkau 7b90f141df build: add a CONFIG_MODULES symbol for compatibility with kernel menuconfig
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36352
2013-04-17 15:36:49 +00:00
Felix Fietkau 96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Florian Fainelli 9f21b979f4 buildroot: enable software floating point for MIPS64 targets
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36291
2013-04-09 14:36:09 +00:00
Florian Fainelli 9e1d2c15d9 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>

SVN-Revision: 36202
2013-04-05 12:36:12 +00:00
Felix Fietkau a1c2e78817 kernel: remove the BROKEN dependency on the kernel export symbol strip
SVN-Revision: 35935
2013-03-10 14:51:38 +00:00
Felix Fietkau e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Florian Fainelli 8b895d1703 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>

SVN-Revision: 35405
2013-01-29 23:05:43 +00:00
Felix Fietkau be55b0f3f4 build: fix the strip default for musl
SVN-Revision: 35389
2013-01-29 18:16:55 +00:00
Felix Fietkau 4e8eced06a kernel: turn on kallsyms and debug info by default
SVN-Revision: 35285
2013-01-21 16:13:43 +00:00
Felix Fietkau dc248b811f kernel: fix enabling coredump support on 3.7+
SVN-Revision: 35123
2013-01-13 11:33:39 +00:00
Felix Fietkau 12bcd51efd kernel: add a config option for direct i/o support
SVN-Revision: 35001
2013-01-03 18:52:15 +00:00
Felix Fietkau 8cd40b219e build: disable kernel export strip until it is fixed
SVN-Revision: 34726
2012-12-16 21:34:31 +00:00
Gabor Juhos 9691b3f4bf 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>

SVN-Revision: 34441
2012-12-02 13:04:01 +00:00
Florian Fainelli a68f386663 disable sstrip when using musl
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34427
2012-11-29 21:43:05 +00:00
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