xref: /openbmc/linux/scripts/basic/Makefile (revision 1da177e4)
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,
41da177e4SLinus Torvalds# such as splitting .config and 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# split-include: Divide all config symbols up in a number of files in
111da177e4SLinus Torvalds#                include/config/...
121da177e4SLinus Torvalds# docproc:	 Used in Documentation/docbook
131da177e4SLinus Torvalds
141da177e4SLinus Torvaldshostprogs-y	:= fixdep split-include docproc
151da177e4SLinus Torvaldsalways		:= $(hostprogs-y)
161da177e4SLinus Torvalds
171da177e4SLinus Torvalds# fixdep is needed to compile other host programs
181da177e4SLinus Torvalds$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep
19