mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robin van der Gracht <robin@protonic.nl>
To: ptxdist@pengutronix.de
Cc: Robin van der Gracht <robin@protonic.nl>,
	m.olbrich@pengutronix.de, bst@pengutronix.de
Subject: [ptxdist] [PATCH] kernel-fit: Fix dtb file inclusion
Date: Thu, 19 Aug 2021 09:27:46 +0200	[thread overview]
Message-ID: <20210819072746.492404-1-robin@protonic.nl> (raw)

KERNEL_DTB is not set. This results in a FIT image without device tree
inclusion.

Signed-off-by: Robin van der Gracht <robin@protonic.nl>
---
 rules/kernel-fit.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/kernel-fit.make b/rules/kernel-fit.make
index ffead846b..fd1ffe707 100644
--- a/rules/kernel-fit.make
+++ b/rules/kernel-fit.make
@@ -28,7 +28,7 @@ KERNEL_FIT_KERNEL		 = $(KERNEL_IMAGE_PATH_y)
 ifdef PTXCONF_KERNEL_FIT_INITRAMFS
 KERNEL_FIT_INITRAMFS		:= $(IMAGEDIR)/root.cpio
 endif
-KERNEL_FIT_DTB			 = $(KERNEL_DTB)
+KERNEL_FIT_DTB			 = $(foreach dtb, $(KERNEL_DTB_FILES), $(IMAGEDIR)/$(dtb))
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


             reply	other threads:[~2021-08-19  7:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-19  7:27 Robin van der Gracht [this message]
2021-09-03 14:25 ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210819072746.492404-1-robin@protonic.nl \
    --to=robin@protonic.nl \
    --cc=bst@pengutronix.de \
    --cc=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox