* [Buildroot] svn commit: trunk/buildroot/package/customize
@ 2007-07-15 19:29 ulf at uclibc.org
0 siblings, 0 replies; 2+ messages in thread
From: ulf at uclibc.org @ 2007-07-15 19:29 UTC (permalink / raw)
To: buildroot
Author: ulf
Date: 2007-07-15 12:29:56 -0700 (Sun, 15 Jul 2007)
New Revision: 19101
Log:
Fix error msg when: cp -af package/customize/source/* $\(TARGET_DIR\)
Added:
trunk/buildroot/package/customize/source/
Changeset:
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/package/customize
@ 2007-07-16 7:55 ulf at uclibc.org
0 siblings, 0 replies; 2+ messages in thread
From: ulf at uclibc.org @ 2007-07-16 7:55 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-07-16 7:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-16 7:55 [Buildroot] svn commit: trunk/buildroot/package/customize ulf at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2007-07-15 19:29 ulf at uclibc.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox