freepooma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Shorten filenames during build/link


From: Jeffrey D. Oldham
Subject: Re: [PATCH] Shorten filenames during build/link
Date: Tue, 01 Jun 2004 12:21:34 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

Richard Guenther wrote:

This patch shortens filenames by omitting full path to avoid overly long command lines. Compiled and tested building some examples, benchmarks and tests.

Ok?

Richard.


Yes, this is fine as long as it does not break compiling on some operating system. For example, does Windows support '.'?

2004May31  Richard Guenther <address@hidden>

    * config/Shared/include1.mk: set THISDIR to .
    config/Shared/tail.mk: don't change into PROJECT_ROOT
    for PRE_CMDLINE.

------------------------------------------------------------------------

===== config/Shared/include1.mk 1.1 vs edited =====
--- 1.1/r2/config/Shared/include1.mk    2002-05-13 17:47:19 +02:00
+++ edited/config/Shared/include1.mk    2004-05-31 17:06:53 +02:00
@@ -32,8 +32,7 @@
########################################################################

ifndef NEXTDIR
-#      THISDIR :=$(subst /tmp_mnt,,$(shell pwd))
-       THISDIR :=$(shell pwd)
+       THISDIR := .
        DIR_LIST :=$(THISDIR)
else
        DIR_LIST :=$(THISDIR)/$(NEXTDIR) $(DIR_LIST)
===== config/Shared/tail.mk 1.2 vs edited =====
--- 1.2/r2/config/Shared/tail.mk        2003-06-23 14:50:42 +02:00
+++ edited/config/Shared/tail.mk        2004-05-31 16:08:26 +02:00
@@ -57,7 +57,7 @@
INFO_FILE            = address@hidden(PASS).info

# This is prepended to compile, link, archive, preprocess, etc rules.
-PRE_CMDLINE          = cd $(PROJECT_ROOT); TMPDIR=$(TMPDIR)/$(SUITE); $(TIME)
+PRE_CMDLINE          = TMPDIR=$(TMPDIR)/$(SUITE); $(TIME)

# This is prepended to compile, link, archive, preprocess, etc rules.
PDB_PRE_CMDLINE      = cd $(@D); TMPDIR=$(TMPDIR)/$(SUITE); $(TIME)


--
Jeffrey D. Oldham
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]