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