xref: /openbmc/linux/scripts/basic/Makefile (revision ba61bb17)
1###
2# This Makefile lists the most basic programs used during the build process.
3# The programs listed herein are what are needed to do the basic stuff,
4# such as fix file dependencies.
5# This initial step is needed to avoid files to be recompiled
6# when kernel configuration changes (which is what happens when
7# .config is included by main Makefile.
8# ---------------------------------------------------------------------------
9# fixdep: 	 Used to generate dependency information during build process
10
11hostprogs-y	:= fixdep
12hostprogs-$(CONFIG_BUILD_BIN2C)     += bin2c
13always		:= $(hostprogs-y)
14
15# fixdep is needed to compile other host programs
16$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
17