Subversion Repositories HelenOS

Rev

Rev 3343 | Rev 3492 | 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
ifeq ($(IMAGE),binary)
39
ifeq ($(IMAGE),binary)
36
	LD_IN = binary
40
	LD_IN = binary
37
endif
41
endif
38
ifeq ($(IMAGE),ecoff)
42
ifeq ($(IMAGE),ecoff)
39
	LD_IN = ecoff
43
	LD_IN = ecoff
40
endif
44
endif
41
BFD_NAME = elf32-tradlittlemips
45
BFD_NAME = elf32-tradlittlemips
42
BFD_ARCH = mips
46
BFD_ARCH = mips
43
TARGET = mipsel-linux-gnu
47
TARGET = mipsel-linux-gnu
44
TOOLCHAIN_DIR = /usr/local/mipsel/bin
48
TOOLCHAIN_DIR = $(CROSS_PREFIX)/mipsel/bin
45
 
49
 
46
ifeq ($(COMPILER),gcc_native)
50
ifeq ($(COMPILER),gcc_native)
47
	CC = gcc
51
	CC = gcc
48
	AS = as
52
	AS = as
49
	LD = ld
53
	LD = ld
Line 98... Line 102...
98
	$(USPACEDIR)/srv/console/console \
102
	$(USPACEDIR)/srv/console/console \
99
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs \
103
	$(USPACEDIR)/srv/fs/tmpfs/tmpfs \
100
	$(USPACEDIR)/srv/fs/fat/fat \
104
	$(USPACEDIR)/srv/fs/fat/fat \
101
	$(USPACEDIR)/app/tetris/tetris \
105
	$(USPACEDIR)/app/tetris/tetris \
102
	$(USPACEDIR)/app/tester/tester \
106
	$(USPACEDIR)/app/tester/tester \
103
	$(USPACEDIR)/app/cli/cli \
107
	$(USPACEDIR)/app/bdsh/bdsh \
104
	$(USPACEDIR)/app/klog/klog
108
	$(USPACEDIR)/app/klog/klog
105
 
109
 
106
 
110
 
107
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
111
OBJECTS := $(addsuffix .o,$(basename $(SOURCES)))
108
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))
112
COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS))))