Issue 77202 - cleanup tg_zip.mk
Summary: cleanup tg_zip.mk
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: solenv (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on: 74007
Blocks:
  Show dependency tree
 
Reported: 2007-05-10 15:26 UTC by hjs
Modified: 2013-08-07 15:34 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description hjs 2007-05-10 15:26:13 UTC
- support for common output tree should use variables supplied by settings.mk
- ugly workaround for PRJ=. ( ./ttt == ttt feature of dmake 4.7)
Comment 1 quetschke 2007-05-16 23:27:54 UTC
This should fix the ./ttt == ttt problem:

--- dmake/path.c        30 Jan 2007 02:39:45 -0000      1.2.2.2
+++ dmake/path.c        16 May 2007 19:19:32 -0000
@@ -204,8 +208,8 @@
         continue;
       }
 
-      /* Remove './' */
-      if ( p-q == 1 && *q == '.' ) {
+      /* Remove './' except at start of path. */
+      if ( p-q == 1 && *q == '.' && q != path ) {
         strcpy(q,p+1);
         q = tpath;
         continue;

We could have a quick dmake 4.9 to get this in.
Comment 2 quetschke 2007-05-29 00:09:22 UTC
See more in issue 74007.
Comment 3 quetschke 2007-06-22 18:42:29 UTC
See issue 74007, use OOODMAKEMODE.
Comment 4 hjs 2007-07-18 16:33:19 UTC
when building common zips and ZIPnDIR set, there is an additional copying to the
local platform output tree. the reason for this isn't obvious...
Comment 5 hjs 2007-12-17 16:43:57 UTC
- removed obsolete workaround for PRJ=.
- removed unnecessary copying of the archive in some cases
- one more block uses supplied COMMONBIN variable now 

commandlines for dependency creation still look ugly. but that's something for later
Comment 6 rt 2008-03-03 16:43:00 UTC
Verified on CWS ause084
Comment 7 hjs 2008-03-13 19:19:44 UTC
.