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
# File:         TOOLSET/AVR_IAR.rul[e]
4
# File:         TOOLSET/AVR_IAR.rul[e]
5
# Contents:     IAR rules as used for the AVR
5
# Contents:     IAR rules as used for the AVR
6
#               Make definitions for the IAR tools.
6
#               Make definitions for the IAR tools.
7
#
7
#
Line 32... Line 32...
32
    GBE_AVR_IAR := C:/Program Files/IAR Systems/Embedded Workbench 3.2
32
    GBE_AVR_IAR := C:/Program Files/IAR Systems/Embedded Workbench 3.2
33
    export GBE_AVR_IAR
33
    export GBE_AVR_IAR
34
endif
34
endif
35
 
35
 
36
iar:
36
iar:
37
	@if [ -z "$$GBE_AVR_IAR" ]; then echo GBE_AVR_IAR env var not set; exit 2; fi; \
37
	@if [ -z "$$GBE_AVR_IAR" ]; then echo "GBE_AVR_IAR env var not set"; exit 2; fi; \
38
	if [ ! -d "$$GBE_AVR_IAR" ]; then echo "ERROR: GBE_AVR_IAR directory not found ($$GBE_AVR_IAR). Compiler not available"; exit 2; fi; \
38
	if [ ! -d "$$GBE_AVR_IAR" ]; then echo "ERROR: GBE_AVR_IAR directory not found ($$GBE_AVR_IAR). Compiler not available"; exit 2; fi; \
39
	echo "[Toolset AVR - IAR Systems]";
39
	echo "[Toolset AVR - IAR Systems]";
40
 
40
 
41
iar_avr = $(subst \,/,$(strip $(GBE_AVR_IAR)))
41
iar_avr = $(subst \,/,$(strip $(GBE_AVR_IAR)))
42
 
42