xref: /openbmc/u-boot/scripts/Makefile (revision 316f0d0f)
1###
2# scripts contains sources for various helper programs used throughout
3# the kernel for the build process.
4# ---------------------------------------------------------------------------
5# docproc:       Used in Documentation/DocBook
6#
7# SPDX-License-Identifier:	GPL-2.0
8#
9
10hostprogs-$(CONFIG_BUILD_BIN2C)		+= bin2c
11
12always		:= $(hostprogs-y)
13
14# The following hostprogs-y programs are only build on demand
15hostprogs-y += docproc
16
17# These targets are used internally to avoid "is up to date" messages
18PHONY += build_docproc
19build_docproc: $(obj)/docproc
20	@:
21
22# Let clean descend into subdirs
23subdir-	+= basic kconfig
24subdir-$(CONFIG_DTC)	+= dtc
25