public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* configtool : the ECOSSRCDIR variable is useless on command line
@ 2009-09-25 18:35 Paul Chavent
  0 siblings, 0 replies; only message in thread
From: Paul Chavent @ 2009-09-25 18:35 UTC (permalink / raw)
  To: ecos-patches

[-- Attachment #1: Type: text/plain, Size: 489 bytes --]

The usage of host/tools/configtool/standalone/wxwin/makefile.gnu (not conform to the README.txt) says :
# Usage:
#   cd emptydir
#   make -f /path/to/this/makefile WXDIR=/path/to/wx/installation INSTALLDIR=/path/to/ecos/tools [ ECOSSRCDIR=/path/to/ecos/tools/src ] [ TCLDIR=/path/to/tcl/installation ] [ DEBUG=1 ]

But if i give ECOSSRCDIR on command line, it is useless.

So i suggest this patch for fixing the problem.

Perhaps, it is only a problem of doc, but i'am not sure.

Regards.

[-- Attachment #2: ecos-host_configtool.patch --]
[-- Type: text/plain, Size: 726 bytes --]

Index: host/tools/configtool/standalone/wxwin/makefile.gnu
===================================================================
RCS file: /cvs/ecos/ecos/host/tools/configtool/standalone/wxwin/makefile.gnu,v
retrieving revision 1.14
diff -u -5 -r1.14 makefile.gnu
--- host/tools/configtool/standalone/wxwin/makefile.gnu	25 Mar 2009 09:12:35 -0000	1.14
+++ host/tools/configtool/standalone/wxwin/makefile.gnu	25 Sep 2009 18:03:54 -0000
@@ -41,11 +41,11 @@
 
 INSTALLDIR=INSTALLDIR_not_defined
 WXDIR=WXDIR_not_defined
 
 CTBUILDDIR=$(shell pwd)
-ECOSSRCDIR=$(INSTALLDIR)/src
+ECOSSRCDIR?=$(INSTALLDIR)/src
 CTDIR=$(ECOSSRCDIR)/tools/configtool/standalone/wxwin
 TCLDIR=TCLDIR_use_system
 USEEXPERIMENTALCODE=1
 
 EXTRACPPFLAGS=\

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-25 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-25 18:35 configtool : the ECOSSRCDIR variable is useless on command line Paul Chavent

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).