blob: 0372b33febe52f74978420c2c559adef5e815374 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001###
Cao jin312a3d02017-08-02 10:31:06 +08002# This Makefile lists the most basic programs used during the build process.
Randy Dunlap6dd16f42007-09-04 21:23:22 -07003# The programs listed herein are what are needed to do the basic stuff,
4# such as fix file dependencies.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005# This initial step is needed to avoid files to be recompiled
6# when kernel configuration changes (which is what happens when
7# .config is included by main Makefile.
8# ---------------------------------------------------------------------------
9# fixdep: Used to generate dependency information during build process
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Peter Foleybffd2022011-05-02 22:48:03 +020011hostprogs-y := fixdep
Vivek Goyalde5b56b2014-08-08 14:25:41 -070012hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
Linus Torvalds1da177e2005-04-16 15:20:36 -070013always := $(hostprogs-y)
14
15# fixdep is needed to compile other host programs
16$(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep