From: Chunrong Guo <B40290@freescale.com>
To: <openembedded-core@lists.openembedded.org>
Cc: chunrong.guo@nxp.com
Subject: [[PATCH v2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue
Date: Wed, 17 May 2017 12:10:44 +0800 [thread overview]
Message-ID: <1494994244-10488-3-git-send-email-B40290@freescale.com> (raw)
In-Reply-To: <1494994244-10488-1-git-send-email-B40290@freescale.com>
From: Chunrong Guo <chunrong.guo@nxp.com>
* For example:
KERNEL_DEVICETREE ?= "freescale/fsl-ls1046a-rdb.dtb"
${DTB}= "freescale/fsl-ls1046a-rdb.dtb"
but only fsl-ls1046a-rdb.dtb should be used in fit-image.its
Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
meta/classes/kernel-fitimage.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 9fa836f..08644ea 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -347,6 +347,7 @@ fitimage_assemble() {
DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
fi
DTB_PATH="arch/${ARCH}/boot/dts/${DTB}"
+ DTB=`basename ${DTB}`
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="arch/${ARCH}/boot/${DTB}"
fi
--
1.9.0
next prev parent reply other threads:[~2017-05-17 4:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-17 4:10 [[PATCH v2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-17 4:10 ` [[PATCH v2 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
2017-05-17 19:15 ` Denys Dmytriyenko
2017-05-17 4:10 ` Chunrong Guo [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-05-31 5:23 [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-31 5:23 ` [PATCH V2 3/3] kernel-fitimage: fix KERNEL_DEVICETREE includes subdirectory issue Chunrong Guo
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=1494994244-10488-3-git-send-email-B40290@freescale.com \
--to=b40290@freescale.com \
--cc=chunrong.guo@nxp.com \
--cc=openembedded-core@lists.openembedded.org \
/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