xref: /openbmc/u-boot/scripts/basic/Makefile (revision b1ad6c696631f07b5fe109378516abcb79ded1f9)
1###
2# Makefile.basic 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#
11# SPDX-License-Identifier:	GPL-2.0
12#
13
14hostprogs-y	:= fixdep
15always		:= $(hostprogs-y)
16
17# fixdep is needed to compile other host programs
18$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
19