2 # scripts contains sources for various helper programs used throughout
3 # the kernel for the build process.
4 # ---------------------------------------------------------------------------
5 # docproc: Used in Documentation/DocBook
7 # SPDX-License-Identifier: GPL-2.0
10 hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
12 always := $(hostprogs-y)
14 # The following hostprogs-y programs are only build on demand
15 hostprogs-y += docproc
17 # These targets are used internally to avoid "is up to date" messages
18 PHONY += build_docproc
19 build_docproc: $(obj)/docproc
22 # Let clean descend into subdirs
23 subdir- += basic kconfig
24 subdir-$(CONFIG_DTC) += dtc