xref: /openbmc/linux/scripts/basic/Makefile (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
21da177e4SLinus Torvalds###
3312a3d09SCao jin# This Makefile lists the most basic programs used during the build process.
46dd16f44SRandy Dunlap# The programs listed herein are what are needed to do the basic stuff,
56dd16f44SRandy Dunlap# such as fix file dependencies.
61da177e4SLinus Torvalds# This initial step is needed to avoid files to be recompiled
71da177e4SLinus Torvalds# when kernel configuration changes (which is what happens when
81da177e4SLinus Torvalds# .config is included by main Makefile.
91da177e4SLinus Torvalds# ---------------------------------------------------------------------------
101da177e4SLinus Torvalds# fixdep: 	 Used to generate dependency information during build process
111da177e4SLinus Torvalds
12bffd2020SPeter Foleyhostprogs-y	:= fixdep
131da177e4SLinus Torvaldsalways		:= $(hostprogs-y)
141da177e4SLinus Torvalds
151da177e4SLinus Torvalds# fixdep is needed to compile other host programs
161da177e4SLinus Torvalds$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
17