blob: e27308a97a570c2c78903f980c3fe2a7020b982a [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +09002###
3# scripts contains sources for various helper programs used throughout
4# the kernel for the build process.
5# ---------------------------------------------------------------------------
6# docproc: Used in Documentation/DocBook
7
Masahiro Yamadabb92b422017-01-30 11:12:07 +09008hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
9
10always := $(hostprogs-y)
11
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +090012# The following hostprogs-y programs are only build on demand
13hostprogs-y += docproc
14
15# These targets are used internally to avoid "is up to date" messages
16PHONY += build_docproc
Masahiro Yamada9cf2a452014-04-15 13:29:00 +090017build_docproc: $(obj)/docproc
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +090018 @:
19
Masahiro Yamada0a17a422014-02-04 17:24:40 +090020# Let clean descend into subdirs
Masahiro Yamada60bb7342014-07-30 14:08:17 +090021subdir- += basic kconfig
Tom Rini61d0fac2017-09-23 13:00:57 -040022subdir-$(CONFIG_DTC) += dtc