xref: /openbmc/u-boot/scripts/basic/Makefile (revision e8f80a5a)
1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0
222433fc5SMasahiro Yamada###
322433fc5SMasahiro Yamada# Makefile.basic lists the most basic programs used during the build process.
422433fc5SMasahiro Yamada# The programs listed herein are what are needed to do the basic stuff,
522433fc5SMasahiro Yamada# such as fix file dependencies.
622433fc5SMasahiro Yamada# This initial step is needed to avoid files to be recompiled
722433fc5SMasahiro Yamada# when kernel configuration changes (which is what happens when
822433fc5SMasahiro Yamada# .config is included by main Makefile.
922433fc5SMasahiro Yamada# ---------------------------------------------------------------------------
1022433fc5SMasahiro Yamada# fixdep: 	 Used to generate dependency information during build process
1122433fc5SMasahiro Yamada
1222433fc5SMasahiro Yamadahostprogs-y	:= fixdep
1322433fc5SMasahiro Yamadaalways		:= $(hostprogs-y)
1422433fc5SMasahiro Yamada
1522433fc5SMasahiro Yamada# fixdep is needed to compile other host programs
1622433fc5SMasahiro Yamada$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
17