On Thu, Jun 30, 2011 at 09:51, Jie Zhang wrote:
>  * src/cmd/Makefile.am (generated_cmd_list.h): Always update the file to
>    avoid constant generation loops where other files are newer, but not
>    a different list of commands.
>
> With r1927, changing to single cmd_xxx.c file, even it does not change
> the cmd list, all cmd files will be rebuilt.

yes, i noticed ... it's a bit obnoxious.

> Why your original code does not work?

the changelog says why ... if you do `touch cmd_bfin.c`, then the
cmd_list.h will always get generated on every `make`.

i guess an alternative would be that if the list is unchanged, then do
`touch -r cmd_list.h generated_cmd_list.h`.  i didnt do that
originally as i wanted to avoid portability issues, but i guess this
syntax is in POSIX, so it should be fine.
-mike

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to