All of lore.kernel.org
 help / color / mirror / Atom feed
* [morty/master][PATCH] external-linaro-toolchain: fix against upstream changes
@ 2017-04-10 12:25 Jacob Stiffler
  2017-04-12  5:43 ` Karthik Ramanan
  0 siblings, 1 reply; 2+ messages in thread
From: Jacob Stiffler @ 2017-04-10 12:25 UTC (permalink / raw)
  To: meta-arago

* Recent upstream changes cause bindir and sbindir to be removed if
  they are empty.
* The bbappend in this layer assumes these directories exist.
* This change removes that assumption.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
 meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
index 7648e36..e261259 100644
--- a/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
+++ b/meta-arago-extras/recipes-core/meta/external-linaro-toolchain.bbappend
@@ -133,6 +133,7 @@ do_install_append() {
 	sed -i -e "s# /lib/# ../../lib/#g" -e "s# /usr/lib/# ./#g" ${D}${libdir}/libpthread.so
 
 	if [ -d ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/libc/${bindir} ]; then
+		install -d ${D}${bindir}
 		cp -a ${TOOLCHAIN_PATH}/${ELT_TARGET_SYS}/libc/${bindir}/* ${D}${bindir}
 	fi
 
@@ -161,5 +162,4 @@ do_install_append() {
 	${@base_conditional('PREFERRED_PROVIDER_linux-libc-headers', 'external-linaro-toolchain', '', 'rm -rf ${D}${includedir}/uapi/.install; rm -rf ${D}${includedir}/misc/.install; rm -rf ${D}${includedir}/misc/cxl.h; rm -rf ${D}${includedir}/scsi/.install; rm -rf ${D}${includedir}/scsi/scsi_netlink*; rm -rf ${D}${includedir}/scsi/scsi_bsg*; rm -rf ${D}${includedir}/scsi/cxlflash_ioctl.h; rm -rf ${D}${includedir}/scsi/fc; rm -rf ${D}${includedir}/xen', d)}
 
 	rm ${D}${base_libdir}/*.spec
-	rmdir ${D}${sbindir}
 }
-- 
2.7.4



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

end of thread, other threads:[~2017-04-12  5:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-10 12:25 [morty/master][PATCH] external-linaro-toolchain: fix against upstream changes Jacob Stiffler
2017-04-12  5:43 ` Karthik Ramanan

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.