mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-30 08:03:32 +08:00
36dd5f1b8a
This makes us act like the Linux Kernel does and allow for dtc to be provided externally but otherwise we use the version of dtc that is included in the sources. This in turn means that we can drop the checkdtc logic. We select DTC in the cases where we will need the dtc tool provided. Signed-off-by: Tom Rini <trini@konsulko.com>
25 lines
646 B
Makefile
25 lines
646 B
Makefile
###
|
|
# 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
|
|
|
|
# These targets are used internally to avoid "is up to date" messages
|
|
PHONY += build_docproc
|
|
build_docproc: $(obj)/docproc
|
|
@:
|
|
|
|
# Let clean descend into subdirs
|
|
subdir- += basic kconfig
|
|
subdir-$(CONFIG_DTC) += dtc
|