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 | BFD_NAME = elf32-littlearm |
39 | BFD_NAME = elf32-littlearm |
36 | BFD_ARCH = arm |
40 | BFD_ARCH = arm |
37 | TARGET = arm-linux-gnu |
41 | TARGET = arm-linux-gnu |
38 | TOOLCHAIN_DIR = /usr/local/arm/bin |
42 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/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 99... | Line 103... | ||
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/klog/klog \ |
107 | $(USPACEDIR)/app/klog/klog \ |
104 | $(USPACEDIR)/app/cli/cli |
108 | $(USPACEDIR)/app/bdsh/bdsh |
105 | 109 | ||
106 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
110 | OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) |
107 | COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS)))) |
111 | COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS)))) |
108 | 112 | ||
109 | .PHONY: all clean depend |
113 | .PHONY: all clean depend |