Subversion Repositories HelenOS

Rev

Rev 2927 | Rev 4342 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2927 Rev 3403
Line 27... Line 27...
27
#
27
#
28
 
28
 
29
## Toolchain configuration
29
## Toolchain configuration
30
#
30
#
31
 
31
 
-
 
32
ifndef CROSS_PREFIX
-
 
33
	CROSS_PREFIX = /usr/local
-
 
34
endif
-
 
35
 
32
BFD_NAME = elf32-powerpc
36
BFD_NAME = elf32-powerpc
33
BFD_ARCH = powerpc:common
37
BFD_ARCH = powerpc:common
34
BFD = binary
38
BFD = binary
35
TARGET = ppc-linux-gnu
39
TARGET = ppc-linux-gnu
36
TOOLCHAIN_DIR = /usr/local/ppc
40
TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc
37
 
41
 
38
GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32
42
GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32
39
AFLAGS += -a32
43
AFLAGS += -a32
40
LFLAGS += -no-check-sections -N
44
LFLAGS += -no-check-sections -N
41
 
45