From: Michael Tokarev <mjt@tls.msk.ru>
To: Pelle Svensson <pelle2004@gmail.com>
Cc: Sam Ravnborg <sam@ravnborg.org>, linux-kernel@vger.kernel.org
Subject: Re: Symbol links to only needed and targeted source files
Date: Fri, 05 Jan 2007 15:00:40 +0300 [thread overview]
Message-ID: <459E3DE8.9050100@tls.msk.ru> (raw)
In-Reply-To: <6bb9c1030701031314l1b57bd2brffb61cce68a7174@mail.gmail.com>
Pelle Svensson wrote:
> Hi Sam,
>
> You misunderstand me I think, I already using a separate output directory.
> What I like to do is a separate 'source tree' with only valid files
> for my configuration. In that way, when I use grep for instance,
> I would only hit valid files and not 50 other files which are
> not in the current build configuration.
So take a look at those generated files - there are .dep files in there,
which lists dependencies of every file which has been compiled for your
configuration. Take them, build a list of filenames, and (sym)link them
into separate dir. Some small awk/sed/grep/sort/uniq/xargs/ln magic and
you're done... ;)
/mjt
prev parent reply other threads:[~2007-01-05 12:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-03 15:24 Symbol links to only needed and targeted source files Pelle Svensson
2007-01-03 16:24 ` Sam Ravnborg
2007-01-03 21:14 ` Pelle Svensson
2007-01-03 21:39 ` Valdis.Kletnieks
2007-01-03 21:58 ` Sam Ravnborg
2007-01-03 22:35 ` Pelle Svensson
2007-01-05 12:00 ` Michael Tokarev [this message]
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=459E3DE8.9050100@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=pelle2004@gmail.com \
--cc=sam@ravnborg.org \
/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