blob: 9d55241463d4542f7b791641f7670a3e6666948b [file] [log] [blame]
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +09001###
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 Rini0cab3ec2015-11-10 01:06:16 +00006#
7# SPDX-License-Identifier: GPL-2.0
8#
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +09009
Masahiro Yamadabb92b422017-01-30 11:12:07 +090010hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
11
12always := $(hostprogs-y)
13
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +090014# The following hostprogs-y programs are only build on demand
15hostprogs-y += docproc
16
17# These targets are used internally to avoid "is up to date" messages
18PHONY += build_docproc
Masahiro Yamada9cf2a452014-04-15 13:29:00 +090019build_docproc: $(obj)/docproc
Masahiro Yamada5bfd11b2014-02-05 10:52:50 +090020 @:
21
Masahiro Yamada0a17a422014-02-04 17:24:40 +090022# Let clean descend into subdirs
Masahiro Yamada60bb7342014-07-30 14:08:17 +090023subdir- += basic kconfig
Tom Rini61d0fac2017-09-23 13:00:57 -040024subdir-$(CONFIG_DTC) += dtc