ptxdist doesn't refresh?

strgezer
so i got ptxdist to help me build an image & rootfs for the mini6410.

now, i'm working on some simple c code.   when i first produce a sample
using 'ptxdist newproject' it works fine.    i can build the project and
run it(after editing the makefile to include the version suffix).    it
runs on my mini6410 Ok.  

but, when i modify the .c file and run 'ptxdist go', nothing happens.   it
doesn't rebuild the project with the newly modified .c file(s).  

'touching' the file to update it's time stamp doesn't help.  

does anyone know hos to get ptxdist to build with the updated files?

davef
<ptxdist clean root> is the last resort.  Is there a <ptxdist clean
newproject> command?  I have used <ptxdist clean qt4> before which just
cleans QT4 stuff.

Dave

Juergen Beisert
PTXdist creates timestamps for each step for each package it builds. And
when the next "ptxdist go" cycle starts, these timestamps tell PTXdist what
is already done and what has still to be done.
In your case you changed the sources, but PTXdist is not able to track
package content. It can only detect configuration changes and timestamp
dependencies (= dependencies to other packages).
You need to tell PTXdist to "forget" one of the timestamps and force its
re-do. If your package's name if "foo" you can do it with the command:

$ ptxdist drop foo.compile

This means to force the compile stage of the package again while the next
"ptxdist go".

If you do not want to type this long command shown above again and again,
you can also remove the timestamp file by yourself: "rm
platform-mini2440/state/foo.compile2"

strgezer
thanks, that works for me.   
another question, though-    is there a way to tell ptxdist where to put
the image file and the root file system?   i'm using tftpboot and nfs for
development, it's getting a little old copying things over everytime i do a
build.

Juergen Beisert
No, PTXdist always copies the results to the images directory. Just write a
little script that calls first "ptxdist images" and then copies the kernel
to your /tftpboot directory. And for the NFS root you do not need to copy
anything. Just export the 'platform-mini2440/root' to your target as its
root filesystem and you are done.