This is the mail archive of the ecos-patches@sources.redhat.com 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]

Modify examples Makefile to match documentation


This patch modifies the eCos examples Makefile to use the INSTALL_DIR
variable rather than ECOS_INSTALL to specifiy the path to the eCos
installation.

John Dallaway
eCosCentric Limited

--cut here--

Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/examples/ChangeLog,v
retrieving revision 1.1
diff -u -5 -r1.1 ChangeLog
--- ChangeLog	20 Jan 2003 09:21:06 -0000	1.1
+++ ChangeLog	3 Mar 2003 08:05:46 -0000
@@ -1,3 +1,8 @@
+2003-03-03  John Dallaway  <jld at ecoscentric dot com>
+
+	Makefile: Rename ECOS_INSTALL -> INSTALL_DIR to match
+	documentation.
+
 2003-01-20  John Dallaway  <jld at ecoscentric dot com>
 
 	Makefile: Simplify by reference to ecos.mak
Index: Makefile
===================================================================
RCS file: /cvs/ecos/ecos/examples/Makefile,v
retrieving revision 1.4
diff -u -5 -r1.4 Makefile
--- Makefile	20 Jan 2003 09:21:06 -0000	1.4
+++ Makefile	3 Mar 2003 08:05:46 -0000
@@ -1,22 +1,22 @@
 # Mostly written by Jonathan Larmour, Red Hat, Inc.
 # Reference to ecos.mak added by John Dallaway, eCosCentric Limited, 
2003-01-20
 # This file is in the public domain and may be used for any purpose

-# Usage:   make ECOS_INSTALL=/path/to/ecos/install
+# Usage:   make INSTALL_DIR=/path/to/ecos/install

-ECOS_INSTALL=$$(ECOS_INSTALL) # override on make command line
+INSTALL_DIR=$$(INSTALL_DIR) # override on make command line

-include $(ECOS_INSTALL)/include/pkgconf/ecos.mak
+include $(INSTALL_DIR)/include/pkgconf/ecos.mak

 XCC           = $(ECOS_COMMAND_PREFIX)gcc
 XCXX          = $(XCC)
 XLD           = $(XCC)
 
-CFLAGS        = -I$(ECOS_INSTALL)/include
+CFLAGS        = -I$(INSTALL_DIR)/include
 CXXFLAGS      = $(CFLAGS)
-LDFLAGS       = -nostartfiles -L$(ECOS_INSTALL)/lib -Ttarget.ld
+LDFLAGS       = -nostartfiles -L$(INSTALL_DIR)/lib -Ttarget.ld
 
 # RULES
 
 .PHONY: all clean


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