Makefile: Simplify devicetree rules for SPL/TPL
authorSimon Glass <sjg@chromium.org>
Sat, 30 Apr 2022 06:56:50 +0000 (00:56 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 May 2022 13:58:13 +0000 (09:58 -0400)
commit70bed2f6598a04d06fa6e6dfdeab3019f0c29c42
treea1bb6a260705b7160b574f7cf536421b76d529ac
parent743ebe6b795ac764006c91f9f5b4cafdfa421e6e
Makefile: Simplify devicetree rules for SPL/TPL

The current logic checks several options to decide whether SPL/TPL need
the U-Boot devicetree to be built. In fact we can check OF_CONTROL, which
is enabled in all cases that matter.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile