Subversion Repositories HelenOS

Rev

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

Rev 3343 Rev 3397
Line 30... Line 30...
30
include ../../../Makefile.config
30
include ../../../Makefile.config
31
 
31
 
32
## Toolchain configuration
32
## Toolchain configuration
33
#
33
#
34
 
34
 
-
 
35
ifndef CROSS_PREFIX
-
 
36
	CROSS_PREFIX = /usr/local
-
 
37
endif
-
 
38
 
35
BFD_NAME = elf64-sparc
39
BFD_NAME = elf64-sparc
36
BFD_ARCH = sparc
40
BFD_ARCH = sparc
37
TARGET = sparc64-linux-gnu
41
TARGET = sparc64-linux-gnu
38
TOOLCHAIN_DIR = /usr/local/sparc64/bin
42
TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc64/bin
39
 
43
 
40
ifeq ($(COMPILER),gcc_native)
44
ifeq ($(COMPILER),gcc_native)
41
	CC = gcc
45
	CC = gcc
42
	AS = as
46
	AS = as
43
	LD = ld
47
	LD = ld
Line 96... Line 100...
96
	$(USPACEDIR)/srv/console/console \
100
	$(USPACEDIR)/srv/console/console \
97
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs \
101
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs \
98
	$(USPACEDIR)/srv/fs/fat/fat \
102
	$(USPACEDIR)/srv/fs/fat/fat \
99
	$(USPACEDIR)/app/tetris/tetris \
103
	$(USPACEDIR)/app/tetris/tetris \
100
	$(USPACEDIR)/app/tester/tester \
104
	$(USPACEDIR)/app/tester/tester \
101
	$(USPACEDIR)/app/cli/cli \
105
	$(USPACEDIR)/app/bdsh/bdsh \
102
	$(USPACEDIR)/app/klog/klog
106
	$(USPACEDIR)/app/klog/klog
103
 
107
 
104
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
108
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
105
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
109
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
106
 
110