From: Denys Dmytriyenko <denys@ti.com>
To: <meta-arago@arago-project.org>
Subject: [PATCH] kernel-fitimage: drop dir part from DTB name, as u-boot setup w/o it
Date: Mon, 20 May 2019 19:05:43 +0000 [thread overview]
Message-ID: <20190520190543.11302-1-denys@ti.com> (raw)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
meta-arago-distro/classes/kernel-fitimage.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-arago-distro/classes/kernel-fitimage.bbclass b/meta-arago-distro/classes/kernel-fitimage.bbclass
index 34b61d00..e58652bc 100644
--- a/meta-arago-distro/classes/kernel-fitimage.bbclass
+++ b/meta-arago-distro/classes/kernel-fitimage.bbclass
@@ -342,7 +342,7 @@ fitimage_emit_section_config() {
dtbcount=1
for DTB in ${KERNEL_DEVICETREE}; do
- DTB=$(echo "${DTB}" | tr '/' '_')
+ DTB=$(basename "${DTB}")
if [ "x${FITIMAGE_CONF_BY_NAME}" = "x1" ] ; then
conf_name="${DTB}"
else
@@ -514,7 +514,7 @@ fitimage_assemble() {
if [ ! -e "${DTB_PATH}" ]; then
DTB_PATH="arch/${ARCH}/boot/${DTB}"
fi
- DTB=$(echo "${DTB}" | tr '/' '_')
+ DTB=$(basename "${DTB}")
fitimage_ti_secure ${DTB_PATH} ${DTB_PATH}.sec
if [ "x${FITIMAGE_DTB_BY_NAME}" = "x1" ] ; then
fitimage_emit_section_dtb ${1} ${DTB} ${DTB_PATH}.sec
--
2.17.1
reply other threads:[~2019-05-20 19:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190520190543.11302-1-denys@ti.com \
--to=denys@ti.com \
--cc=meta-arago@arago-project.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.