summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2018-03-09 10:53:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-15 06:27:19 -0700
commitdc471563874db206f1a4e2aa521940b4bdec6b05 (patch)
tree98e2ded057f729a3ed7aa9619dcef0d6569bd56b
parentcc02a00d27c6e4e6929ddb7c6ade2a278ca28f61 (diff)
downloadpoky-dc471563874db206f1a4e2aa521940b4bdec6b05.tar.gz
ncurses: fix do_install failure when base_libdir has more than one level
Other sections of the .inc already use mkdir -p, so use it here as well. (From OE-Core rev: 62434e5021b99391a0c129a40bf943465a19e7ce) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 1f21cd413d..106dcb016e 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -227,7 +227,7 @@ do_install() {
227 if [ ! -d "${D}${base_libdir}" ]; then 227 if [ ! -d "${D}${base_libdir}" ]; then
228 # Setting base_libdir to libdir as is done in the -native 228 # Setting base_libdir to libdir as is done in the -native
229 # case will skip this code 229 # case will skip this code
230 mkdir ${D}${base_libdir} 230 mkdir -p ${D}${base_libdir}
231 mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir} 231 mv ${D}${libdir}/libncurses.so.* ${D}${base_libdir}
232 ! ${ENABLE_WIDEC} || \ 232 ! ${ENABLE_WIDEC} || \
233 mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir} 233 mv ${D}${libdir}/libncursesw.so.* ${D}${base_libdir}