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

Submitted by Richard Weinberger on Jan. 10, 2019, 9:42 a.m. | Patch ID: 157696

Details

Message ID 20190110094212.16763-5-richard@nod.at
State Accepted
Commit b0d5b8c22d8d955f831c36041a54bfdd4e52c4fb
Headers show

Commit Message

Richard Weinberger Jan. 10, 2019, 9:42 a.m.
Don't use ${PN} for the source dir, it will break multilib builds.
The correct variable is ${BPN}.

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

Patch hide | download patch | download mbox

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"