]> git.sur5r.net Git - u-boot/blobdiff - scripts/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / scripts / Makefile
index 2f081f7104dd141e4121d7b97fa333f1b971df98..e27308a97a570c2c78903f980c3fe2a7020b982a 100644 (file)
@@ -1,11 +1,13 @@
+# 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
-#
+
+hostprogs-$(CONFIG_BUILD_BIN2C)                += bin2c
+
+always         := $(hostprogs-y)
 
 # The following hostprogs-y programs are only build on demand
 hostprogs-y += docproc
@@ -17,3 +19,4 @@ build_docproc: $(obj)/docproc
 
 # Let clean descend into subdirs
 subdir-        += basic kconfig
+subdir-$(CONFIG_DTC)   += dtc