Subversion Repositories DevTools

Rev

Rev 5709 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5709 Rev 6177
Line 1... Line 1...
1
########################################################################
1
########################################################################
2
# Copyright (c) VIX TECHNOLOGY (AUST) LTD
2
# COPYRIGHT - VIX IP PTY LTD ("VIX"). ALL RIGHTS RESERVED.
3
#
3
#
4
# Module name   : MSP430.RUL
4
# Module name   : MSP430.RUL
5
# Module type   : Makefile system
5
# Module type   : Makefile system
6
# Compiler(s)   : Perl
6
# Compiler(s)   : Perl
7
# Environment(s): jats
7
# Environment(s): jats
Line 178... Line 178...
178
ar_term         =
178
ar_term         =
179
 
179
 
180
 
180
 
181
 
181
 
182
define ar_pre
182
define ar_pre
183
        @$(echo) [\$@] Creating library archive.. ; \
183
        @$(echo) '[$@] Creating library archive..' ; \
184
        $(rm) -f $@
184
        $(rm) -f $@
185
endef
185
endef
186
 
186
 
187
ifndef LEAVETMP
187
ifndef LEAVETMP
188
define ar_post
188
define ar_post
Line 215... Line 215...
215
ld_flags        = -@$(ld_cmdfile)
215
ld_flags        = -@$(ld_cmdfile)
216
msp430_libs   = $(subst ;,$(space),$(subst \,/,$(subst $(space),$(spacealt),$(subst ;$(space),;,$(MSP430_LIBS)))))
216
msp430_libs   = $(subst ;,$(space),$(subst \,/,$(subst $(space),$(spacealt),$(subst ;$(space),;,$(MSP430_LIBS)))))
217
 
217
 
218
 
218
 
219
define ld_pre
219
define ld_pre
220
        $(XX_PRE)$(echo) [$@] Linking program .. ;\
220
        $(XX_PRE)$(echo) '[$@] Linking program ..' ;\
221
        export LIB; \
221
        export LIB; \
222
                LIB="$(subst $(space),;,$(LIBDIRS));$(MSP430_LIBS)"; \
222
                LIB="$(subst $(space),;,$(LIBDIRS));$(MSP430_LIBS)"; \
223
        $(cmdfile) -W0ko$(ld_cmdfile) "\
223
        $(cmdfile) -W0ko$(ld_cmdfile) "\
224
                $(patsubst %,%\\n,$(CFLAGS)) \
224
                $(patsubst %,%\\n,$(CFLAGS)) \
225
                $(patsubst %,--define=%\\n,$(cc_defines)) \
225
                $(patsubst %,--define=%\\n,$(cc_defines)) \