Commit b2a316ff authored by Grant Likely's avatar Grant Likely
Browse files

Only include the 'dtb' target if $DTB_TARGET is set

The 'dtb' rule doesn't work if $DTB_TARGET is not defined. Removing it
when not configured.

Signed-off-by: Grant Likely's avatarGrant Likely <>
parent ca9dcaa0
......@@ -127,11 +127,13 @@ ESP_OFFSET ?= $$((4*1024*1024))
endif # ifeq ($(dot-config),1)
ifneq ($(DTB_TARGET),)
PHONY += dtb
dtb: ${DTB_TARGET}
fdtput ${DT_OUTPUT}/${DTB_TARGET} -t s / u-boot-ver `cd ${UBOOT_PATH} && git describe`
fdtput ${DT_OUTPUT}/${DTB_TARGET} -t s / tfa-ver `cd ${TFA_PATH} && git describe`
fdtput ${DT_OUTPUT}/${DTB_TARGET} -t s / dt-ver `cd ${DT_PATH} && git describe`
PHONY += flashimage sdimage
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment