Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | ### |
Cao jin | 312a3d0 | 2017-08-02 10:31:06 +0800 | [diff] [blame] | 3 | # This Makefile lists the most basic programs used during the build process. |
Randy Dunlap | 6dd16f4 | 2007-09-04 21:23:22 -0700 | [diff] [blame] | 4 | # The programs listed herein are what are needed to do the basic stuff, |
| 5 | # such as fix file dependencies. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | # This initial step is needed to avoid files to be recompiled |
| 7 | # when kernel configuration changes (which is what happens when |
| 8 | # .config is included by main Makefile. |
| 9 | # --------------------------------------------------------------------------- |
| 10 | # fixdep: Used to generate dependency information during build process |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Peter Foley | bffd202 | 2011-05-02 22:48:03 +0200 | [diff] [blame] | 12 | hostprogs-y := fixdep |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | always := $(hostprogs-y) |
| 14 | |
| 15 | # fixdep is needed to compile other host programs |
| 16 | $(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep |