mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Michael Kerrisk <[email protected]> Cc: Yinghai Lu <[email protected]> Cc: Eric Biederman <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Dave Young <[email protected]> Cc: WANG Chao <[email protected]> Cc: Baoquan He <[email protected]> Cc: Andy Lutomirski <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
17 lines
716 B
Makefile
17 lines
716 B
Makefile
###
|
|
# Makefile.basic lists the most basic programs used during the build process.
|
|
# The programs listed herein are what are needed to do the basic stuff,
|
|
# such as fix file dependencies.
|
|
# This initial step is needed to avoid files to be recompiled
|
|
# when kernel configuration changes (which is what happens when
|
|
# .config is included by main Makefile.
|
|
# ---------------------------------------------------------------------------
|
|
# fixdep: Used to generate dependency information during build process
|
|
|
|
hostprogs-y := fixdep
|
|
hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
|
|
always := $(hostprogs-y)
|
|
|
|
# fixdep is needed to compile other host programs
|
|
$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
|