From: Ryan Hajdaj <rhajdaj@yahoo.com>
To: buildroot@busybox.net
Subject: [Buildroot] "find -delete" command
Date: Fri, 5 Dec 2008 04:52:21 -0800 (PST) [thread overview]
Message-ID: <446097.42813.qm@web31813.mail.mud.yahoo.com> (raw)
I'd like to request that the following change be made to the top-level buildroot Makefile (lines 340 to 343 of the 20081205 version). This is mainly for portability, as the -delete option is not recognized by earlier versions of the find command.
--- Makefile 2008-12-05 03:15:46.000000000 -0500
+++ Makefile.new 2008-12-05 06:08:53.000000000 -0500
@@ -337,10 +337,10 @@
( scripts/copy.sh $(STAGING_DIR) $(TARGET_DIR) )
else
rm -rf $(TARGET_DIR)/usr/include $(TARGET_DIR)/usr/lib/pkgconfig
- find $(TARGET_DIR)/usr/lib -name '*.a' -delete
- find $(TARGET_DIR)/lib -name '*.a' -delete
- find $(TARGET_DIR)/usr/lib -name '*.la' -delete
- find $(TARGET_DIR)/lib -name '*.la' -delete
+ find $(TARGET_DIR)/usr/lib -name '*.a' -exec rm {} \;
+ find $(TARGET_DIR)/lib -name '*.a' -exec rm {} \;
+ find $(TARGET_DIR)/usr/lib -name '*.la' -exec rm {} \;
+ find $(TARGET_DIR)/lib -name '*.la' -exec rm {} \;
endif
Note: This change also applies to the following files:
.svn/text-base/Makefile.svn-base
package/x11r7/xapp_xman/xapp_xman.mk
package/x11r7/xapp_xman/.svn/text-base/xapp_xman.mk.svn-base
package/x11r7/xdata_xcursor-themes/xdata_xcursor-themes.mk
package/x11r7/xdata_xcursor-themes/.svn/text-base/xdata_xcursor-themes.mk.svn-base
reply other threads:[~2008-12-05 12:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=446097.42813.qm@web31813.mail.mud.yahoo.com \
--to=rhajdaj@yahoo.com \
--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