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