Rev 4669 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4669 | Rev 4675 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | BFD_NAME = elf32-littlearm |
39 | BFD_NAME = elf32-littlearm |
40 | BFD_ARCH = arm |
40 | BFD_ARCH = arm |
41 | TARGET = arm-linux-gnu |
41 | TARGET = arm-linux-gnu |
42 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/bin |
42 | TOOLCHAIN_DIR = $(CROSS_PREFIX)/arm/bin |
43 | 43 | ||
44 | ifeq ($(MACHINE), testarm) |
- | |
45 | DMACHINE = MACHINE_GXEMUL_TESTARM |
- | |
46 | endif |
- | |
47 | - | ||
48 | ifeq ($(MACHINE), integratorcp) |
- | |
49 | DMACHINE = MACHINE_ICP |
- | |
50 | endif |
- | |
51 | - | ||
52 | - | ||
53 | ifeq ($(COMPILER),gcc_native) |
44 | ifeq ($(COMPILER),gcc_native) |
54 | CC = gcc |
45 | CC = gcc |
55 | AS = as |
46 | AS = as |
56 | LD = ld |
47 | LD = ld |
57 | OBJCOPY = objcopy |
48 | OBJCOPY = objcopy |
Line 100... | Line 91... | ||
100 | $(USPACEDIR)/srv/console/console \ |
91 | $(USPACEDIR)/srv/console/console \ |
101 | $(USPACEDIR)/srv/fs/devfs/devfs \ |
92 | $(USPACEDIR)/srv/fs/devfs/devfs \ |
102 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
93 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
103 | $(USPACEDIR)/srv/fs/fat/fat \ |
94 | $(USPACEDIR)/srv/fs/fat/fat \ |
104 | $(USPACEDIR)/srv/bd/file_bd/file_bd |
95 | $(USPACEDIR)/srv/bd/file_bd/file_bd |
105 | ifeq ($(MACHINE), testarm) |
96 | ifeq ($(MACHINE),testarm) |
106 | RD_SRVS += \ |
97 | RD_SRVS += \ |
107 | $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd |
98 | $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd |
108 | endif |
99 | endif |
109 | 100 | ||
110 | RD_APPS = \ |
101 | RD_APPS = \ |
Line 158... | Line 149... | ||
158 | 149 | ||
159 | %.o: %.S |
150 | %.o: %.S |
160 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
151 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
161 | 152 | ||
162 | %.o: %.c |
153 | %.o: %.c |
163 | $(CC) -D$(DMACHINE) $(DEFS) $(CFLAGS) -c $< -o $@ |
154 | $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ |