X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=scripts%2FMakefile;h=e27308a97a570c2c78903f980c3fe2a7020b982a;hb=c444afbbefa103d567f197393d39ec0fcca21a0c;hp=efe25bfc6e2c57dbeeb1396e9a60b7d79bb8b3fd;hpb=51148790f26e42ef1fd4a1a8d056bf0252539525;p=u-boot diff --git a/scripts/Makefile b/scripts/Makefile index efe25bfc6e..e27308a97a 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,9 +1,14 @@ +# 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 +hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c + +always := $(hostprogs-y) + # The following hostprogs-y programs are only build on demand hostprogs-y += docproc @@ -14,3 +19,4 @@ build_docproc: $(obj)/docproc # Let clean descend into subdirs subdir- += basic kconfig +subdir-$(CONFIG_DTC) += dtc