xref: /openbmc/linux/scripts/basic/Makefile (revision 6dd16f44)
11da177e4SLinus Torvalds###
26dd16f44SRandy Dunlap# Makefile.basic 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
106dd16f44SRandy Dunlap# docproc:	 Used in Documentation/DocBook
111da177e4SLinus Torvalds
122e3646e5SRoman Zippelhostprogs-y	:= fixdep docproc
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