summaryrefslogtreecommitdiffstats
path: root/fix-oldnoconfig-to-dtrt.patch
diff options
context:
space:
mode:
authorKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-08-19 17:05:06 -0400
committerKyle McMartin <kyle@dreadnought.i.jkkm.org>2010-08-19 17:05:06 -0400
commita62b0aa064c2e60aa1b2d4cbc03a6e260c2c5b88 (patch)
treec9619c32d7b922d9690c527e2242340b2958b0f6 /fix-oldnoconfig-to-dtrt.patch
parent1bfcf9a44170f86df5a5b56f46734a6ae1aea4a2 (diff)
downloadkernel-a62b0aa064c2e60aa1b2d4cbc03a6e260c2c5b88.tar.gz
kernel-a62b0aa064c2e60aa1b2d4cbc03a6e260c2c5b88.tar.xz
kernel-a62b0aa064c2e60aa1b2d4cbc03a6e260c2c5b88.zip
fix prepped configs (they were fine at build time, just broken at prep.)
Diffstat (limited to 'fix-oldnoconfig-to-dtrt.patch')
-rw-r--r--fix-oldnoconfig-to-dtrt.patch32
1 files changed, 8 insertions, 24 deletions
diff --git a/fix-oldnoconfig-to-dtrt.patch b/fix-oldnoconfig-to-dtrt.patch
index 1c49bef6f..99b1022b6 100644
--- a/fix-oldnoconfig-to-dtrt.patch
+++ b/fix-oldnoconfig-to-dtrt.patch
@@ -1,29 +1,13 @@
-From 726a550e84ab288ddc8f0be7645997326884206e Mon Sep 17 00:00:00 2001
-From: Kyle McMartin <kyle@dreadnought.i.jkkm.org>
-Date: Tue, 17 Aug 2010 17:13:48 -0400
-Subject: fix oldnoconfig to do what i want
-
----
- scripts/kconfig/conf.c | 6 ++++--
- 1 files changed, 4 insertions(+), 2 deletions(-)
-
diff --git a/scripts/kconfig/conf.c b/scripts/kconfig/conf.c
-index 5b7c86e..dd09320 100644
+index 5b7c86e..7ef429c 100644
--- a/scripts/kconfig/conf.c
+++ b/scripts/kconfig/conf.c
-@@ -423,8 +423,10 @@ static void check_conf(struct menu *menu)
- if (sym && !sym_has_value(sym)) {
- if (sym_is_changable(sym) ||
- (sym_is_choice(sym) && sym_get_tristate_value(sym) == yes)) {
-- if (input_mode == listnewconfig) {
-- if (sym->name && !sym_is_choice_value(sym)) {
-+ if (input_mode == listnewconfig ||
-+ input_mode == oldnoconfig) {
-+ if (input_mode == listnewconfig &&
-+ sym->name && !sym_is_choice_value(sym)) {
+@@ -427,7 +427,7 @@ static void check_conf(struct menu *menu)
+ if (sym->name && !sym_is_choice_value(sym)) {
printf("CONFIG_%s\n", sym->name);
}
- } else {
---
-1.7.2.1
-
+- } else {
++ } else if (input_mode != oldnoconfig) {
+ if (!conf_cnt++)
+ printf(_("*\n* Restart config...\n*\n"));
+ rootEntry = menu_get_parent_menu(menu);