* heapgen.tcl execution
@ 2009-01-09 14:16 John Dallaway
0 siblings, 0 replies; only message in thread
From: John Dallaway @ 2009-01-09 14:16 UTC (permalink / raw)
To: ecos-patches
[-- Attachment #1: Type: text/plain, Size: 136 bytes --]
This trivial patch makes the eCos build more robust against file execute
permission issues with heapgen.tcl. Checked-in.
John Dallaway
[-- Attachment #2: heapgen-090109.patch --]
[-- Type: text/x-patch, Size: 1524 bytes --]
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 <john@dallaway.org.uk>
+
+ * cdl/memalloc.cdl: Invoke tclsh explicitly to avoid the need for
+ execute permission on heapgen.tcl.
+
2009-01-08 John Dallaway <john@dallaway.org.uk>
* 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 {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-09 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-09 14:16 heapgen.tcl execution John Dallaway
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).