Merge tag 'tpm-030822' of https://source.denx.de/u-boot/custodians/u-boot-tpm
[platform/kernel/u-boot.git] / scripts / Makefile
index 2f081f7..8731e6c 100644 (file)
@@ -1,19 +1,12 @@
+# 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
-#
-# SPDX-License-Identifier:     GPL-2.0
-#
 
-# 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: $(obj)/docproc
-       @:
+always         := $(hostprogs-y)
 
 # Let clean descend into subdirs
-subdir-        += basic kconfig
+subdir-        += basic kconfig dtc