xref: /openbmc/linux/scripts/basic/Makefile (revision 312a3d09)
11da177e4SLinus Torvalds###
2312a3d09SCao jin# This Makefile lists the most basic programs used during the build process.
36dd16f44SRandy Dunlap# The programs listed herein are what are needed to do the basic stuff,
46dd16f44SRandy Dunlap# such as fix file dependencies.
51da177e4SLinus Torvalds# This initial step is needed to avoid files to be recompiled
61da177e4SLinus Torvalds# when kernel configuration changes (which is what happens when
71da177e4SLinus Torvalds# .config is included by main Makefile.
81da177e4SLinus Torvalds# ---------------------------------------------------------------------------
91da177e4SLinus Torvalds# fixdep: 	 Used to generate dependency information during build process
101da177e4SLinus Torvalds
11bffd2020SPeter Foleyhostprogs-y	:= fixdep
12de5b56baSVivek Goyalhostprogs-$(CONFIG_BUILD_BIN2C)     += bin2c
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