[oe] [PATCH 5/6] [meta-oe] mksh: Don't use ${PN}

Richard Weinberger richard at nod.at
Thu Jan 10 09:42:11 UTC 2019


Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

Cc: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Weinberger <richard at nod.at>
---
 meta-oe/recipes-shells/mksh/mksh_56.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-shells/mksh/mksh_56.bb b/meta-oe/recipes-shells/mksh/mksh_56.bb
index 324b5b61157f..e4eb54286a20 100644
--- a/meta-oe/recipes-shells/mksh/mksh_56.bb
+++ b/meta-oe/recipes-shells/mksh/mksh_56.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "dd86ebc421215a7b44095dc13b056921ba81e61b9f6f4cdab08ca135d0
 
 inherit update-alternatives
 
-S = "${WORKDIR}/${PN}"
+S = "${WORKDIR}/${BPN}"
 
 ALTERNATIVE_${PN} = "sh"
 ALTERNATIVE_LINK_NAME[sh] = "${base_bindir}/sh"
-- 
2.20.1



More information about the Openembedded-devel mailing list