* [PATCH] kernel-fitimage: drop dir part from DTB name, as u-boot setup w/o it
@ 2019-05-20 19:05 Denys Dmytriyenko
0 siblings, 0 replies; only message in thread
From: Denys Dmytriyenko @ 2019-05-20 19:05 UTC (permalink / raw)
To: meta-arago
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-05-20 19:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20 19:05 [PATCH] kernel-fitimage: drop dir part from DTB name, as u-boot setup w/o it Denys Dmytriyenko
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.