public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
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, 31 May 2017 13:23:05 +0800	[thread overview]
Message-ID: <1496208185-25064-3-git-send-email-B40290@freescale.com> (raw)
In-Reply-To: <1496208185-25064-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



  parent reply	other threads:[~2017-05-31  5:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-31  5:23 [PATCH V2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-31  5:23 ` [PATCH V2 2/3] kernel-fitimage: set replacementtype to vmlinux Chunrong Guo
     [not found]   ` <DB5PR0401MB1848C9E9F46D0EF94651E4A384CA0@DB5PR0401MB1848.eurprd04.prod.outlook.com>
     [not found]     ` <DB5PR0401MB1848324A568C76F387DD179784CB0@DB5PR0401MB1848.eurprd04.prod.outlook.com>
     [not found]       ` <DB5PR0401MB18483AC47747903C98EDC46484C90@DB5PR0401MB1848.eurprd04.prod.outlook.com>
2017-06-08 12:48         ` Anders Darander
2017-05-31  5:23 ` Chunrong Guo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-05-17  4:10 [[PATCH v2 1/3] kernel-fitimage: Support ext2.gz filesystems Chunrong Guo
2017-05-17  4:10 ` [[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=1496208185-25064-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