Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Customize package not copy .svn .git etc?
@ 2012-02-07 16:45 Grant Edwards
  2012-02-07 17:08 ` Luca Ceresoli
  2012-02-07 17:12 ` Grant Edwards
  0 siblings, 2 replies; 5+ messages in thread
From: Grant Edwards @ 2012-02-07 16:45 UTC (permalink / raw)
  To: buildroot

Do other users of the customize package not use svn, git, CVS, etc?

I build from a subversion working copy, and customize.mk is copying
all of the .svn directories to the target.  I'm looking at
customize.mk, to leave out things like .svn and .git directories and
I'm a bit confused.  Here's what it looks like now:

CUST_DIR:=package/customize/source

$(BUILD_DIR)/.customize:
        rm -f $(BUILD_DIR)/series
        (cd $(CUST_DIR); \
        /bin/ls -d * > $(BUILD_DIR)/series || \
        touch $(BUILD_DIR)/series )
        for f in cat $(BUILD_DIR)/series; do \
               cp -af $(CUST_DIR)/$$f $(TARGET_DIR); \
        done
        rm -f $(BUILD_DIR)/series
        touch $@

I don't really understand the purpose of the "cd" command and the
"series" file.  Isn't this the same thing?

$(BUILD_DIR)/.customize:
        for f in $$(ls -d $(CUST_DIR)/*); do cp -af $$f $(TARGET_DIR); done
        touch $@

-- 
Grant Edwards               grant.b.edwards        Yow! ... this must be what
                                  at               it's like to be a COLLEGE
                              gmail.com            GRADUATE!!

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

end of thread, other threads:[~2012-02-07 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-07 16:45 [Buildroot] Customize package not copy .svn .git etc? Grant Edwards
2012-02-07 17:08 ` Luca Ceresoli
2012-02-07 17:54   ` Grant Edwards
2012-02-07 17:12 ` Grant Edwards
2012-02-07 19:53   ` Arnout Vandecappelle

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