Masahiro Yamada | 8fac9c7 | 2014-02-05 10:52:50 +0900 | [diff] [blame] | 1 | ### |
| 2 | # scripts contains sources for various helper programs used throughout |
| 3 | # the kernel for the build process. |
| 4 | # --------------------------------------------------------------------------- |
| 5 | # docproc: Used in Documentation/DocBook |
Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 6 | # |
| 7 | # SPDX-License-Identifier: GPL-2.0 |
| 8 | # |
Masahiro Yamada | 8fac9c7 | 2014-02-05 10:52:50 +0900 | [diff] [blame] | 9 | |
Masahiro Yamada | 61304db | 2017-01-30 11:12:07 +0900 | [diff] [blame] | 10 | hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c |
| 11 | |
| 12 | always := $(hostprogs-y) |
| 13 | |
Masahiro Yamada | 8fac9c7 | 2014-02-05 10:52:50 +0900 | [diff] [blame] | 14 | # The following hostprogs-y programs are only build on demand |
| 15 | hostprogs-y += docproc |
| 16 | |
| 17 | # These targets are used internally to avoid "is up to date" messages |
| 18 | PHONY += build_docproc |
Masahiro Yamada | 598e2d3 | 2014-04-15 13:29:00 +0900 | [diff] [blame] | 19 | build_docproc: $(obj)/docproc |
Masahiro Yamada | 8fac9c7 | 2014-02-05 10:52:50 +0900 | [diff] [blame] | 20 | @: |
| 21 | |
Masahiro Yamada | efcf861 | 2014-02-04 17:24:40 +0900 | [diff] [blame] | 22 | # Let clean descend into subdirs |
Masahiro Yamada | 5114879 | 2014-07-30 14:08:17 +0900 | [diff] [blame] | 23 | subdir- += basic kconfig |
Tom Rini | 36dd5f1 | 2017-09-23 13:00:57 -0400 | [diff] [blame] | 24 | subdir-$(CONFIG_DTC) += dtc |