This trivial patch makes the eCos build more robust against file execute permission issues with heapgen.tcl. Checked-in.
John Dallaway
Index: ChangeLog =================================================================== RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/ChangeLog,v retrieving revision 1.46 diff -U5 -r1.46 ChangeLog --- ChangeLog 8 Jan 2009 17:13:21 -0000 1.46 +++ ChangeLog 9 Jan 2009 14:01:07 -0000 @@ -1,5 +1,10 @@ +2009-01-09 John Dallaway <[email protected]> + + * cdl/memalloc.cdl: Invoke tclsh explicitly to avoid the need for + execute permission on heapgen.tcl. + 2009-01-08 John Dallaway <[email protected]> * src/heapgen.tcl: Specify script interpreter via /usr/bin/env. * cdl/memalloc.cdl: Simplify heaps.cxx make rule - cygtclsh80 is no-longer supported. Index: cdl/memalloc.cdl =================================================================== RCS file: /cvs/ecos/ecos/packages/services/memalloc/common/current/cdl/memalloc.cdl,v retrieving revision 1.19 diff -U5 -r1.19 memalloc.cdl --- cdl/memalloc.cdl 8 Jan 2009 17:13:21 -0000 1.19 +++ cdl/memalloc.cdl 9 Jan 2009 14:01:08 -0000 @@ -281,11 +281,11 @@ # FIXME this should have a dependency on mlt_headers, but CDL doesn't # permit custom build rules depending on phony targets make -priority 50 { heaps.cxx : <PACKAGE>/src/heapgen.tcl heapgeninc.tcl - $< "$(PREFIX)" "`pwd`" + tclsh $< "$(PREFIX)" "`pwd`" @cp heaps.hxx "$(PREFIX)"/include/pkgconf/heaps.hxx @chmod u+w "$(PREFIX)"/include/pkgconf/heaps.hxx } make_object {
