[Tinyos-devel] Creating a platform specific cleanup rule

Martin Leopold leopold at diku.dk
Mon Oct 9 15:25:14 PDT 2006


Hi All.
I'm trying to create a platfrom specific cleanup rule (Keil creates a
lot of mess), but I can't figure out how. The general clean rule has a
"CLEAN_EXTRA" variable, but I can't figure out how to use it.

If I set the "CLEAN_EXTRA" in my toplevel .target file (cc2430em.target)
this doesn't get included in time for "make clean" to actually remove my
stuff.

If I do something like "make cc2430em clean" the target gets build
before being removed - which wasn't the point either =].

The only solution I can come up with is to create an "extra" for my
platform - this could include the original clean.target and set the
CLEAN_EXTRA, but was this the intension? 

One more thing: the mcs51_clean could easily be created like "btnode3
reset" - which made me notice that "reset" isn't mentioned in the help
of btnode3 (avr).

-- 
Regards Martin Leopold.
Dept. of Computer Science, University of Copenhagen
http://www.diku.dk/~leopold





More information about the Tinyos-devel mailing list