All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ti-pdk-fetch.bbclass: Do not emit trailing slash during S forming
@ 2020-10-13 21:49 Khem Raj
  2020-10-13 21:51 ` [meta-ti] " Denys Dmytriyenko
  2020-10-14 15:35 ` Dan Murphy
  0 siblings, 2 replies; 7+ messages in thread
From: Khem Raj @ 2020-10-13 21:49 UTC (permalink / raw)
  To: meta-ti; +Cc: Khem Raj

latest OE-core does not promote using trailing slash to make pseudo's
life easier

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Strip slash from S if it exists

 classes/ti-pdk-fetch.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/classes/ti-pdk-fetch.bbclass b/classes/ti-pdk-fetch.bbclass
index 0c9879be..cacd71a4 100644
--- a/classes/ti-pdk-fetch.bbclass
+++ b/classes/ti-pdk-fetch.bbclass
@@ -15,7 +15,7 @@ TI_PDK_SOURCE_PN = "ti-pdk-source"
 TI_PDK_SOURCE_WORKDIR = "${TMPDIR}/work-shared/ti-pdk-${PV}"
 TI_PDK_SOURCE = "${TI_PDK_SOURCE_WORKDIR}/git"
 
-S = "${WORKDIR}/git/${TI_PDK_COMP_PATH}"
+S = "${@'${WORKDIR}/git/${TI_PDK_COMP_PATH}'.rstrip('/')}"
 
 # Hard-link only required sources from PDK
 python do_unpack_append() {
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-14 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-13 21:49 [PATCH v2] ti-pdk-fetch.bbclass: Do not emit trailing slash during S forming Khem Raj
2020-10-13 21:51 ` [meta-ti] " Denys Dmytriyenko
2020-10-14 15:35 ` Dan Murphy
2020-10-14 15:37   ` Denys Dmytriyenko
2020-10-14 15:39     ` Dan Murphy
2020-10-14 15:51   ` Khem Raj
2020-10-14 15:54     ` Dan Murphy

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.