Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] small patches (was: skeleton patch)
@ 2008-11-18 19:21 Roberto A. Foglietta
  2008-11-18 19:46 ` Roberto A. Foglietta
  2008-11-19 12:21 ` Roberto A. Foglietta
  0 siblings, 2 replies; 15+ messages in thread
From: Roberto A. Foglietta @ 2008-11-18 19:21 UTC (permalink / raw)
  To: buildroot

Hi

 a) mkdir -p does not hurt but probably it is optional
 b) s,cp -a,cp -af, because overwriting is necessary

--- package/freetype/freetype.mk	(revision 24038)
+++ package/freetype/freetype.mk	(working copy)
@@ -15,7 +15,8 @@
 $(eval $(call AUTOTARGETS,package,freetype))

 $(FREETYPE_HOOK_POST_BUILD):
-	-cp -a $(FREETYPE_DIR)/objs/.libs/libfreetype.so* $(TARGET_DIR)/usr/lib/
+	mkdir -p $(TARGET_DIR)/usr/lib
+	cp -af $(FREETYPE_DIR)/objs/.libs/libfreetype.so* $(TARGET_DIR)/usr/lib
 	$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libfreetype.so
 	$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g"
$(FREETYPE_DIR)/builds/unix/freetype-config
 	$(SED) "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g"
$(FREETYPE_DIR)/builds/unix/freetype-config

 Cheers,
-- 
/roberto

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

end of thread, other threads:[~2008-11-19 14:46 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-18 19:21 [Buildroot] [PATCH] small patches (was: skeleton patch) Roberto A. Foglietta
2008-11-18 19:46 ` Roberto A. Foglietta
2008-11-18 19:52   ` Roberto A. Foglietta
2008-11-19 10:20     ` [Buildroot] [PATCH] small patches Peter Korsgaard
2008-11-19 10:59       ` Roberto A. Foglietta
2008-11-19 11:07         ` Peter Korsgaard
2008-11-19 11:32           ` Roberto A. Foglietta
2008-11-18 21:34   ` [Buildroot] [PATCH] small patches (was: skeleton patch) Bernhard Reutner-Fischer
2008-11-18 23:00     ` Roberto A. Foglietta
2008-11-19 10:22       ` [Buildroot] [PATCH] small patches Peter Korsgaard
2008-11-18 23:19   ` [Buildroot] [PATCH] small patches (was: skeleton patch) Roberto A. Foglietta
2008-11-19 12:23   ` Roberto A. Foglietta
2008-11-19 12:21 ` Roberto A. Foglietta
2008-11-19 12:27   ` Bernhard Reutner-Fischer
2008-11-19 14:46     ` Roberto A. Foglietta

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