Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] tiff: ensure directory exists before installing to it
@ 2014-09-12  2:21 Danomi Manchego
  2014-09-12  7:34 ` Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Danomi Manchego @ 2014-09-12  2:21 UTC (permalink / raw)
  To: buildroot

Also, don't ignore errors during installation.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
---
 package/tiff/tiff.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index 8d2e087..c61894b 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -76,7 +76,8 @@ ifneq ($(BR2_PACKAGE_TIFF_JBIG),y)
 endif
 
 define TIFF_INSTALL_TARGET_CMDS
-	-cp -a $(@D)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
+	mkdir -p $(TARGET_DIR)/usr/lib/
+	cp -a $(@D)/libtiff/.libs/libtiff.so* $(TARGET_DIR)/usr/lib/
 	for i in $(TIFF_TOOLS_LIST); \
 	do \
 		$(INSTALL) -m 755 -D $(@D)/tools/$$i $(TARGET_DIR)/usr/bin/$$i; \
-- 
1.7.9.5

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

end of thread, other threads:[~2014-09-25 19:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12  2:21 [Buildroot] [PATCH 1/1] tiff: ensure directory exists before installing to it Danomi Manchego
2014-09-12  7:34 ` Thomas Petazzoni
2014-09-22 17:25 ` Thomas Petazzoni
2014-09-22 18:19   ` Danomi Manchego
2014-09-23  7:37     ` Thomas Petazzoni
2014-09-25  9:04       ` Peter Korsgaard
2014-09-25  9:10 ` Peter Korsgaard
2014-09-25 13:08   ` Danomi Manchego
2014-09-25 19:50     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox