From: Imre Kaloz <kaloz@openwrt.org>
Date: Wed, 2 Apr 2014 11:40:41 +0000 (+0000)
Subject: make printk, crashlog and swap support configurable
X-Git-Tag: reboot~7555
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ecbcbeefaec5542a7c2da3555774d0a2f863a1ef;p=openwrt%2Fstaging%2Fxback.git

make printk, crashlog and swap support configurable

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40361
---

diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index c253959508..a475e9aae2 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -1,9 +1,22 @@
-# Copyright (C) 2006-2013 OpenWrt.org
+# Copyright (C) 2006-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
 
+config KERNEL_PRINTK
+	bool "Enable support for printk"
+	default y
+
+config KERNEL_CRASHLOG
+	bool "Crash logging"
+	depends on !(arm || powerpc || sparc)
+	default y
+
+config KERNEL_SWAP
+	bool "Support for paging of anonymous memory (swap)"
+	default y
+
 config KERNEL_DEBUG_FS
 	bool "Compile the kernel with Debug FileSystem enabled"
 	default y