Commit Graph

38 Commits (9c221b18809fc9d2bfe9e2cb92c78c37136b6ce3)

Author SHA1 Message Date
Nicolas Thill d9852e7574 config: disable kernel tracing on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-11 11:31:26 +00:00
Jo-Philipp Wich f154b5d98c config: remove CONFIG_BUILD_STATIC_TOOLS
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-06 00:00:51 +00:00
Nicolas Thill f2997674f1 config: fix typo in Global build settings menu
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-05 05:10:44 +00:00
John Crispin 2dfea023e5 config: fix typo in Global build settings menu
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:05:58 +00:00
John Crispin f7d8dc3702 Support for building an hardened OpenWRT
Introduce configuration options to build an "hardened" OpenWRT.

Options to enable Stack-Smashing Protection, FORTIFY_SOURCE and RELRO
have been introduced.

uClibc makefile now automatically detects if SSP support is necessary.

hostapd makefile has been fixed to use "^" as sed separator since
using a comma was problematic when using "-Wl,-z,now" and the like in
TARGET_CFLAGS.

Currently enabling SSP on user space depends on enabling SSP kernel
side, this is due to the fact that TARGET_CFLAGS are used to build
kernel modules (at least). Suggestions on how to avoid this are welcome.
Using "select" instead of "depends on" doesn't seem to work with choice
entries.

Tested with a lantiq (WBMR) router, GCC 4.8, uClibc and a subset of
the available packages.
Needs to be tested with GCC 4.9 and the remaining packages.
PIE not currently included.

Signed-off-by: Alessandro Di Federico <ale+owrt@clearmind.me>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44005 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-17 14:31:30 +00:00
Rafał Miłecki d3fe1aff4f config: enable EARLY_PRINTK on bcm53xx by default
It's useful for debugging and safe at the same time as we enable it per
device.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-16 14:50:51 +00:00
John Crispin 10c4ed3ce2 kernel: add SECCOMP to menuconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-08 21:23:18 +00:00
John Crispin c53e189dfb packages: fix typo in OpenWrt name
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 16:53:30 +00:00
Jo-Philipp Wich 853ef0ecda config: use PARTUUID by default on x86_64
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-27 14:35:39 +00:00
Hauke Mehrtens 0ca1f141df Kconfig: Fix missing help text in DEVEL config menu
This patch completes missing help text for some options under CONFIG_DEVEL.

Provides help for BINARY_FOLDER and DOWNLOAD_FOLDER, and reduces ambiguity in
the help for BUILD_SUFFIX with an example.

Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:27:52 +00:00
Hauke Mehrtens b68f431d77 Kconfig: Various typo/grammar/line-length fixes in Config*.in files
Non-functional changes to config/Config-*.in files, including:

* spelling mistakes
* inconsistent terminology
* grammar
* overly long lines in "help" components

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-13 20:27:25 +00:00
Luka Perkov 5360a529bd config: enable cgroup freezer
This option will be enabled by default only when cgroups support is enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 23:15:22 +00:00
John Crispin c3738b4413 PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by default
The idea is still to enable it by default at some point
I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y
Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now
I can test more targets but i have no idea which are the most used

Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:36:06 +00:00
Felix Fietkau bf6fc87f26 x86: add back a line accidentally removed in r41763
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 08:20:14 +00:00
Felix Fietkau 72c3ea603f x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 08:18:50 +00:00
John Crispin 19729012bd config/Config-images.in: enable zlib as the default ubi compression
http://patchwork.openwrt.org/patch/5686/

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:05 +00:00
Steven Barth 02e9c5f182 Disable crashlog for UML
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-12 11:34:44 +00:00
Felix Fietkau 9eb585ddab kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-06 09:20:15 +00:00
Felix Fietkau 7b04a90785 build: set default squashfs block size to 64k for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 17:04:41 +00:00
Felix Fietkau a4816ec4b5 build: make the squashfs block size configurable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 17:04:34 +00:00
John Crispin f1a3d34563 config/Config-images.in: the ext4 series introduced a regression
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 13:03:15 +00:00
John Crispin 0597367348 include: Allow git kernel branch selection
This allows the selection of a specific branch in the menuconfig
when using a kernel downloaded from GIT.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:22 +00:00
John Crispin 2c1b671362 config: Remove KERNEL_GIT_LOCAL_REPOSITORY option
The GIT_LOCAL_REPOSITORY option adds the --reference argument to the
git clone kernel command line, if KERNEL_GIT_CLONE_URI is set.

This option is intended to speed-up the repo creation by using local
objets rather than downloading it. However, a local repo can be cloned
much faster by setting GIT_LOCAL_REPOSITORY directly to the local tree.

In that case, git clone will bypass the normal "git aware" transport
mechanism and clone the repository by copying and hardlinking objects
rather than downloading it, resulting in a significant speed increase.

That makes the GIT_LOCAL_REPOSITORY option pretty useless so we'll just
remove it and recommand the usage of KERNEL_GIT_CLONE_URI directly.

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:45:16 +00:00
John Crispin 032740230c image: ext4: rename config options as these are only used for ext4 image creation
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:10 +00:00
John Crispin 6d5d06b702 image: ext4: allow creation of a journaling filesystem
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:07 +00:00
John Crispin 6c2dc17952 image: ext4: allow to choose a block size for the rootfs
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:04 +00:00
John Crispin b611a556d9 image: ext4: move ext4 specific options into submenu
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:53 +00:00
Felix Fietkau 72aad7a991 kernel: add a config option for enabling /proc/slabinfo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 22:39:54 +00:00
Felix Fietkau 7acb3ddb22 kernel: add a config option for /proc page monitoring (useful for detailed memory usage info)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-25 19:38:55 +00:00
Jo-Philipp Wich cee4147609 config: don't use /dev/vda2 for kvm guest, its not used since a long time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-05-13 12:52:58 +00:00
John Crispin 12bb716ac3 sparse: add as a new package selectable from the config
This change does multiple things, all related to enable sparse usage as
a static analysis tool selectable from the OpenWrt configuration:
*add a KERNEL_SPARSE option in the config to add sparse to the kernel
 build (through the C=1 option usage)
*add sparse as a new host tools. It will get selected automatically when
 the above option will be enabled

Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:49 +00:00
Imre Kaloz 7399ef5411 make printk, crashlog and swap support configurable
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-02 11:40:41 +00:00
Luka Perkov 8f3a1a27b7 config: lxc: enable KERNEL_POSIX_MQUEUE
Recent lxc versions are not useful if this option is not enabled. That said,
enable KERNEL_POSIX_MQUEUE by default when KERNEL_LXC_MISC is selected.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-24 13:49:39 +00:00
Imre Kaloz b3160a58e8 add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 12:23:35 +00:00
Imre Kaloz 9c5efa1ea2 virtualbox emulates the e1000 for a long time now
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 10:21:31 +00:00
Imre Kaloz bb345ab0e8 move most of the x86 image generation options to the main file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-07 10:18:55 +00:00
Luka Perkov 82a0abbcf7 config: add KERNEL_DYNAMIC_DEBUG option
Useful when debugging kernel which uses this infrastructure, for
example ubi/ubifs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-12-09 11:30:16 +00:00
Imre Kaloz 1f939e1460 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