This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configtool : the ECOSSRCDIR variable is useless on command line


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.
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=\

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]