This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
configtool : the ECOSSRCDIR variable is useless on command line
- From: Paul Chavent <paul dot chavent at fnac dot net>
- To: ecos-patches at ecos dot sourceware dot org
- Date: Fri, 25 Sep 2009 20:43:48 +0200
- Subject: 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=\