+# SPDX-License-Identifier: GPL-2.0
###
# scripts contains sources for various helper programs used throughout
# the kernel for the build process.
# ---------------------------------------------------------------------------
-# docproc: Used in Documentation/DocBook
-# The following hostprogs-y programs are only build on demand
-hostprogs-y += docproc
+hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c
-# These targets are used internally to avoid "is up to date" messages
-PHONY += build_docproc
-build_docproc: scripts/docproc
- @:
+always := $(hostprogs-y)
# Let clean descend into subdirs
-subdir- += basic
+subdir- += basic kconfig
+subdir-$(CONFIG_DTC) += dtc