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