Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: correa at uclibc.org <correa@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/zlib
Date: Fri, 31 Oct 2008 05:10:11 -0700 (PDT)	[thread overview]
Message-ID: <20081031121011.6D91B3C7FE@busybox.net> (raw)

Author: correa
Date: 2008-10-31 05:10:10 -0700 (Fri, 31 Oct 2008)
New Revision: 23879

Log:
Make sure directories are created during install to STAGING_DIR and TARGET_DIR. Thanks to Thomas Petazzoni and Bernhard Reutner-Fischer.

Modified:
   trunk/buildroot/package/zlib/zlib.mk


Changeset:
Modified: trunk/buildroot/package/zlib/zlib.mk
===================================================================
--- trunk/buildroot/package/zlib/zlib.mk	2008-10-31 09:50:42 UTC (rev 23878)
+++ trunk/buildroot/package/zlib/zlib.mk	2008-10-31 12:10:10 UTC (rev 23879)
@@ -37,23 +37,21 @@
 	touch -c $@
 
 $(STAGING_DIR)/usr/lib/libz.so: $(ZLIB_DIR)/libz.so
-	cp -dpf $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
-	cp -dpf $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
-	cp -dpf $(ZLIB_DIR)/zconf.h $(STAGING_DIR)/usr/include/
-	cp -dpf $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
+	$(INSTALL) -D $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
+	$(INSTALL) -D $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
+	$(INSTALL) $(ZLIB_DIR)/zconf.h $(STAGING_DIR)/usr/include/
+	$(INSTALL) $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libz.so: $(STAGING_DIR)/usr/lib/libz.so
-	mkdir -p $(TARGET_DIR)/usr/lib
-	cp -dpf $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib
+	$(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.so* $(TARGET_DIR)/usr/lib
 	-$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
 	touch -c $@
 
 $(TARGET_DIR)/usr/lib/libz.a: $(STAGING_DIR)/usr/lib/libz.so
-	mkdir -p $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib
-	cp -dpf $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/
-	cp -dpf $(STAGING_DIR)/usr/include/zconf.h $(TARGET_DIR)/usr/include/
-	cp -dpf $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/
+	$(INSTALL) -D $(STAGING_DIR)/usr/include/zlib.h $(TARGET_DIR)/usr/include/
+	$(INSTALL) $(STAGING_DIR)/usr/include/zconf.h $(TARGET_DIR)/usr/include/
+	$(INSTALL) -D $(STAGING_DIR)/usr/lib/libz.a $(TARGET_DIR)/usr/lib/
 	touch -c $@
 
 zlib-headers: $(TARGET_DIR)/usr/lib/libz.a

             reply	other threads:[~2008-10-31 12:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 12:10 correa at uclibc.org [this message]
2008-10-31 15:31 ` [Buildroot] svn commit: trunk/buildroot/package/zlib Thomas Petazzoni
2008-10-31 16:37   ` Thiago A. Corrêa
  -- strict thread matches above, loose matches on Subject: below --
2008-12-11 14:40 egtvedt at uclibc.org
2008-12-08 14:41 jacmet at uclibc.org
2008-10-31 16:37 correa at uclibc.org
2008-07-17 13:19 jacmet at uclibc.org
2007-06-29  8:18 aldot at uclibc.org
2007-06-25  9:07 aldot at uclibc.org
2007-06-25  9:01 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081031121011.6D91B3C7FE@busybox.net \
    --to=correa@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox