Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | ### |
| 2 | # Makefile.basic list the most basic programs used during the build process. |
| 3 | # The programs listed herein is what is needed to do the basic stuff, |
Roman Zippel | 2e3646e | 2006-06-08 22:12:42 -0700 | [diff] [blame] | 4 | # such as fix dependency file. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 5 | # 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 Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | # docproc: Used in Documentation/docbook |
| 11 | |
Roman Zippel | 2e3646e | 2006-06-08 22:12:42 -0700 | [diff] [blame] | 12 | hostprogs-y := fixdep docproc |
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 |