xref: /openbmc/linux/scripts/basic/Makefile (revision 2e3646e5)
11da177e4SLinus Torvalds###
21da177e4SLinus Torvalds# Makefile.basic list the most basic programs used during the build process.
31da177e4SLinus Torvalds# The programs listed herein is what is needed to do the basic stuff,
42e3646e5SRoman Zippel# such as fix dependency file.
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# 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