CVS: msp430-libc/src Makefile,1.49.2.3,1.49.2.4

"Sergey A. Borshch" <[email protected]> Sun, 15 Feb 2009 21:56:49 +0000
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/msp430-libc/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv20410/msp430-libc/src

Modified Files:
      Tag: MSP430X
	Makefile 
Log Message:
pass PREFIX to sub-make as environment variable


Index: Makefile
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/src/Makefile,v
retrieving revision 1.49.2.3
retrieving revision 1.49.2.4
diff -u -w -d -r1.49.2.3 -r1.49.2.4
--- Makefile	27 Jan 2009 01:13:50 -0000	1.49.2.3
+++ Makefile	15 Feb 2009 21:56:47 -0000	1.49.2.4
@@ -6,15 +6,15 @@
 VERSION = 20090126
 
 # installation prefix (set this if you don't install by hand)
-
-#prefix = /usr
-prefix = /usr/local/msp430
+ifndef PREFIX
+PREFIX = /usr/local/msp430
+endif
 
 # name of target architecture (used for conform naming)
 
 target = msp430
 
-prefix_target = ${prefix}/${target}
+prefix_target = $(PREFIX)/${target}
 bindir = ${prefix_target}/bin
 includedir = ${prefix_target}/include
 libdir = ${prefix_target}/lib
@@ -38,7 +38,6 @@
 ASFLAGS += -Wa,-gdwarf-2
 #ASFLAGS += -Wa,-ahlmsd=$(<:.S=.lst)
 #ASFLAGS += -v
-
 override CFLAGS = $(COMMON)
 CFLAGS += -Wall -Os -gdwarf-2
 


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H