public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: John Dallaway <john@dallaway.org.uk>
To: ecos-patches@ecos.sourceware.org
Subject: heapgen.tcl execution
Date: Fri, 09 Jan 2009 14:16:00 -0000	[thread overview]
Message-ID: <49675C32.8030306@dallaway.org.uk> (raw)

[-- 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 {

                 reply	other threads:[~2009-01-09 14:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49675C32.8030306@dallaway.org.uk \
    --to=john@dallaway.org.uk \
    --cc=ecos-patches@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).