From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/customize
Date: Mon, 16 Jul 2007 00:55:51 -0700 (PDT) [thread overview]
Message-ID: <20070716075551.44315A65BE@busybox.net> (raw)
Author: ulf
Date: 2007-07-16 00:55:50 -0700 (Mon, 16 Jul 2007)
New Revision: 19105
Log:
Get rid of repeated copy of 'customize'
Modified:
trunk/buildroot/package/customize/customize.mk
Changeset:
Modified: trunk/buildroot/package/customize/customize.mk
===================================================================
--- trunk/buildroot/package/customize/customize.mk 2007-07-15 23:35:31 UTC (rev 19104)
+++ trunk/buildroot/package/customize/customize.mk 2007-07-16 07:55:50 UTC (rev 19105)
@@ -5,8 +5,23 @@
#############################################################
CUST_DIR:=package/customize/source
-customize:
- -cp -af $(CUST_DIR)/* $(TARGET_DIR)/
+$(BUILD_DIR)/.customize:
+ rm -f $(PROJECT_BUILD_DIR)/series
+ (cd $(CUST_DIR) ; \
+ /bin/ls -d * > $(PROJECT_BUILD_DIR)/series || \
+ touch $(PROJECT_BUILD_DIR)/series )
+ for f in `cat $(PROJECT_BUILD_DIR)/series` ; do \
+ cp -af $(CUST_DIR)/$$f $(TARGET_DIR)/$$f ; \
+ done
+ rm -f $(PROJECT_BUILD_DIR)/series
+ touch $@
+
+customize: $(BUILD_DIR)/.customize
+
+customize-clean:
+ rm -f $(BUILD_DIR)/.customize
+
+.PHONY: customize
#############################################################
#
# Toplevel Makefile options
next reply other threads:[~2007-07-16 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 7:55 ulf at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-15 19:29 [Buildroot] svn commit: trunk/buildroot/package/customize ulf 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=20070716075551.44315A65BE@busybox.net \
--to=ulf@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