Hi John,
Here's the scenario:
I unpack devboard-R2_10 and distfiles in a directory, link to
distfiles from devboard-R2_10, configure, make menuconfig, configure
again and then I start tweaking stuff myself, making fimages etc.
The problem is that by now the path to my directory, lets say
/home/mark/XYZbla/devboard-R2_10 is now hardcoded into a variety of
files in the tree, as I can see if I do << find . -exec grep "XYZbla"
{} \; >>
Examples are
devboard-R2_10/tools/build-R2_19_3/fakeroot/build/host/Makefile
or devboard-R2_10/tools/build-R2_19_3/filepp/Makefile as well of
course as a bunch of object files but I wouldn't normally check those
in anyway so they are not the problem.
Now if I could clean all those other files out and recreate them with
a single command I would be happy, and could check the rest of the
tree into svn and then pass it back and forth amongst the other guys.
Hope that makes it clearer. I'm looking forward to your ideas.
Cheers
Mark
--- In [email protected], [EMAIL PROTECTED] wrote:
>
> Hi,
>
> additions to the sdk go via me
>
> i do not see why there need to be hardcoded paths,
>
> can you give an example ? we specifically decided to use svn, as it
> makes patching etc much easier
>
> have you use svn before ? and can you send me an example oof what you
> have done ?
>
> John
>
> Quoting markwilliamandrew <[EMAIL PROTECTED]>:
>
> > Hi,
> >
> > There are a few of us experimenting together with the foxboard and we
> > want to be able to share and version our changes to the whole SDK
tree.
> >
> > We won't necessarily be refactoring the kernel (well not for a while
> > :-) or debugging drivers, but just for small things like adding
> > applications, adding device files and other such stuff it would be
> > nice if we could make snapshots with subversion or mercurial.
> >
> > My immediate problem is that the configure phase creates a lot of
> > files which have the current path hardwired into them. So when I check
> > this in to a repository and check it out somewhere else then the whole
> > thing is broken. I also cannot see a "make clean" type capability
> > which would delete those files and leave me with a portable system.
> >
> > Is there an elegant solution I have missed, a monster svn:ignore or
> > .hgignore regex list someone has created, or am I just going about
> > this the wrong way?
> >
> > Thanks in advance for any help.
> >
> > Mark
> >
> >
>