summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2014-08-08 23:25:41 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:32 +0200
commitde5b56ba51f63973ceb5c184ee0855f0c8a13fc9 (patch)
treecaae1a83d7affec1752f0a5e443c87c38e0bafe3 /scripts
parentbin2c: move bin2c in scripts/basic (diff)
downloadlinux-de5b56ba51f63973ceb5c184ee0855f0c8a13fc9.tar.xz
linux-de5b56ba51f63973ceb5c184ee0855f0c8a13fc9.zip
kernel: build bin2c based on config option CONFIG_BUILD_BIN2C
currently bin2c builds only if CONFIG_IKCONFIG=y. But bin2c will now be used by kexec too. So make it compilation dependent on CONFIG_BUILD_BIN2C and this config option can be selected by CONFIG_KEXEC and CONFIG_IKCONFIG. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Cc: Borislav Petkov <bp@suse.de> Cc: Michael Kerrisk <mtk.manpages@gmail.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: Eric Biederman <ebiederm@xmission.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Matthew Garrett <mjg59@srcf.ucam.org> Cc: Greg Kroah-Hartman <greg@kroah.com> Cc: Dave Young <dyoung@redhat.com> Cc: WANG Chao <chaowang@redhat.com> Cc: Baoquan He <bhe@redhat.com> Cc: Andy Lutomirski <luto@amacapital.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/basic/Makefile2
1 files changed, 1 insertions, 1 deletions
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 @@
# fixdep: Used to generate dependency information during build process
hostprogs-y := fixdep
-hostprogs-$(CONFIG_IKCONFIG) += bin2c
+hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
always := $(hostprogs-y)
# fixdep is needed to compile other host programs