]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - scripts/Makefile
Merge git://git.denx.de/u-boot-fsl-qoriq
[people/ms/u-boot.git] / scripts / Makefile
index 242e3a06fc4ce5752c4ac67ca81c63ff6d37c635..9d55241463d4542f7b791641f7670a3e6666948b 100644 (file)
@@ -3,14 +3,22 @@
 # the kernel for the build process.
 # ---------------------------------------------------------------------------
 # docproc:       Used in Documentation/DocBook
+#
+# SPDX-License-Identifier:     GPL-2.0
+#
+
+hostprogs-$(CONFIG_BUILD_BIN2C)                += bin2c
+
+always         := $(hostprogs-y)
 
 # The following hostprogs-y programs are only build on demand
 hostprogs-y += docproc
 
 # These targets are used internally to avoid "is up to date" messages
 PHONY += build_docproc
-build_docproc: scripts/docproc
+build_docproc: $(obj)/docproc
        @:
 
 # Let clean descend into subdirs
-subdir-        += basic
+subdir-        += basic kconfig
+subdir-$(CONFIG_DTC)   += dtc