aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/Kconfig1
-rw-r--r--init/Kconfig5
-rw-r--r--scripts/basic/Makefile2
3 files changed, 7 insertions, 1 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index c915cc6e40be..98fe3df6df82 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1582,6 +1582,7 @@ source kernel/Kconfig.hz
1582 1582
1583config KEXEC 1583config KEXEC
1584 bool "kexec system call" 1584 bool "kexec system call"
1585 select BUILD_BIN2C
1585 ---help--- 1586 ---help---
1586 kexec is a system call that implements the ability to shutdown your 1587 kexec is a system call that implements the ability to shutdown your
1587 current kernel, and to start another kernel. It is like a reboot 1588 current kernel, and to start another kernel. It is like a reboot
diff --git a/init/Kconfig b/init/Kconfig
index a291b7ef4738..44f9ed3dae22 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -783,8 +783,13 @@ endchoice
783 783
784endmenu # "RCU Subsystem" 784endmenu # "RCU Subsystem"
785 785
786config BUILD_BIN2C
787 bool
788 default n
789
786config IKCONFIG 790config IKCONFIG
787 tristate "Kernel .config support" 791 tristate "Kernel .config support"
792 select BUILD_BIN2C
788 ---help--- 793 ---help---
789 This option enables the complete Linux kernel ".config" file 794 This option enables the complete Linux kernel ".config" file
790 contents to be saved in the kernel. It provides documentation 795 contents to be saved in the kernel. It provides documentation
diff --git a/scripts/basic/Makefile b/scripts/basic/Makefile
index afbc1cd69ac5..ec10d9345bc2 100644
--- a/scripts/basic/Makefile
+++ b/scripts/basic/Makefile
@@ -9,7 +9,7 @@
9# fixdep: Used to generate dependency information during build process 9# fixdep: Used to generate dependency information during build process
10 10
11hostprogs-y := fixdep 11hostprogs-y := fixdep
12hostprogs-$(CONFIG_IKCONFIG) += bin2c 12hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
13always := $(hostprogs-y) 13always := $(hostprogs-y)
14 14
15# fixdep is needed to compile other host programs 15# fixdep is needed to compile other host programs