Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Customize package not copy .svn .git etc?
Date: Tue, 7 Feb 2012 16:45:33 +0000 (UTC)	[thread overview]
Message-ID: <jgrkfd$m8n$1@dough.gmane.org> (raw)

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!!

             reply	other threads:[~2012-02-07 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 16:45 Grant Edwards [this message]
2012-02-07 17:08 ` [Buildroot] Customize package not copy .svn .git etc? Luca Ceresoli
2012-02-07 17:54   ` Grant Edwards
2012-02-07 17:12 ` Grant Edwards
2012-02-07 19:53   ` Arnout Vandecappelle

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='jgrkfd$m8n$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.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