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