Subversion Repositories HelenOS

Rev

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

Rev 3386 Rev 4153
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
 
-
 
36
TARGET = ppc-linux-gnu
32
TARGET = ppc-linux-gnu
37
TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc/bin
33
TOOLCHAIN_DIR = $(CROSS_PREFIX)/ppc/bin
38
 
34
 
39
ARCH_SOURCES += arch/$(ARCH)/src/syscall.c \
35
ARCH_SOURCES += arch/$(UARCH)/src/syscall.c \
40
		arch/$(ARCH)/src/fibril.S \
36
	arch/$(UARCH)/src/fibril.S \
41
		arch/$(ARCH)/src/tls.c
37
	arch/$(UARCH)/src/tls.c
42
 
38
 
43
CFLAGS += -mcpu=powerpc -msoft-float -m32
39
CFLAGS += -mcpu=powerpc -msoft-float -m32
44
AFLAGS += -a32
40
AFLAGS += -a32
45
LFLAGS += -N
41
LFLAGS += -N
46
 
42