Make, Clean, Exterminate, gone!

I’m working on a variant BSP for the PPC.

As such, I’ve been working in

/home/tevans/sox/bsp/ppc/sox/

which is a modified copy of:

/usr/src/bsp-6.1.0/ppc/800fads

and editing:

/home/tevans/sox/bsp/ppc/sox/images/sox.build

Which is my “master buildfile”, For reasons that
totally escape me (but it is what the install did
and wants), this is a link to:

…/scratch/ppcbe/boot/build/sox.build

I’ve been working on it for days and now have (had)
ftp and telnet working both ways.

Guess what “make clean” does? Yep -puts the original
almost-empty one back and wipes out a few days work!

If I’m not supposed to be editing the build file, what
(and where) am I meant to be editing?

BTW (in case someone knows, I’ve asked this in the “os”
newsgroups as well)), I’m working with the ppc mpc8xx
Ethernet drivers:

/ppcbe/lib/dll/devn-ppc800-ads.so
/ppcbe/lib/dll/devn-ppc800-mbx.so
/ppcbe/lib/dll/devn-ppc800-rpxlite.so
/ppcbe/lib/dll/devn-ppc800.so

I can find the sources for “mbx” and “rpxlite” in:

/usr/src/ddk-6.1.0/network/src/hardware/devn/ppc800/ppc

Where are the “ads.so” and “.so” sources?

Thanks,

Tom Evans
InitialSurnameAt
tennyson.com.au

Tom Evans wrote:

I’m working on a variant BSP for the PPC.

As such, I’ve been working in

/home/tevans/sox/bsp/ppc/sox/

which is a modified copy of:

/usr/src/bsp-6.1.0/ppc/800fads

and editing:

/home/tevans/sox/bsp/ppc/sox/images/sox.build

Guess what “make clean” does? Yep -puts the original
almost-empty one back and wipes out a few days work!

I’ve managed to work out what happens.

The “master” build file is:

/home/tevans/sox/bsp/ppc/sox/src/hardware/startup/boards/sox/build

That’s the one that replaces “sox.build” when “make clean”
is performed via a copy and a link.

This is also the ONLY one that should be edited.

Tom Evans
InitialSurnameAt
tennyson.com.au