X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=scripts%2FMakefile;h=e27308a97a570c2c78903f980c3fe2a7020b982a;hb=30e71ad5b7117d17b547aa39b9d17cf4706f629a;hp=242e3a06fc4ce5752c4ac67ca81c63ff6d37c635;hpb=a7e8c15f71456d55ccb27f843862af03a00e0957;p=u-boot diff --git a/scripts/Makefile b/scripts/Makefile index 242e3a06fc..e27308a97a 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -1,16 +1,22 @@ +# 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 # 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