Rev 4533 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4533 | Rev 4669 | ||
---|---|---|---|
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 | ||
44 | ifeq ($(COMPILER),gcc_native) |
53 | ifeq ($(COMPILER),gcc_native) |
45 | CC = gcc |
54 | CC = gcc |
46 | AS = as |
55 | AS = as |
47 | LD = ld |
56 | LD = ld |
48 | OBJCOPY = objcopy |
57 | OBJCOPY = objcopy |
Line 62... | Line 71... | ||
62 | SOURCES = \ |
71 | SOURCES = \ |
63 | main.c \ |
72 | main.c \ |
64 | boot.S \ |
73 | boot.S \ |
65 | asm.S \ |
74 | asm.S \ |
66 | mm.c \ |
75 | mm.c \ |
67 | print/gxemul.c \ |
76 | print/print.c \ |
68 | _components.c \ |
77 | _components.c \ |
69 | ../../../generic/printf.c \ |
78 | ../../../generic/printf.c \ |
70 | ../../../generic/string.c \ |
79 | ../../../generic/string.c \ |
71 | ../../../genarch/division.c |
80 | ../../../genarch/division.c |
72 | 81 | ||
Line 90... | Line 99... | ||
90 | $(USPACEDIR)/srv/kbd/kbd \ |
99 | $(USPACEDIR)/srv/kbd/kbd \ |
91 | $(USPACEDIR)/srv/console/console \ |
100 | $(USPACEDIR)/srv/console/console \ |
92 | $(USPACEDIR)/srv/fs/devfs/devfs \ |
101 | $(USPACEDIR)/srv/fs/devfs/devfs \ |
93 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
102 | $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ |
94 | $(USPACEDIR)/srv/fs/fat/fat \ |
103 | $(USPACEDIR)/srv/fs/fat/fat \ |
95 | $(USPACEDIR)/srv/bd/file_bd/file_bd \ |
104 | $(USPACEDIR)/srv/bd/file_bd/file_bd |
- | 105 | ifeq ($(MACHINE), testarm) |
|
- | 106 | RD_SRVS += \ |
|
96 | $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd |
107 | $(USPACEDIR)/srv/bd/gxe_bd/gxe_bd |
- | 108 | endif |
|
97 | 109 | ||
98 | RD_APPS = \ |
110 | RD_APPS = \ |
99 | $(USPACEDIR)/app/getvc/getvc \ |
111 | $(USPACEDIR)/app/getvc/getvc \ |
100 | $(USPACEDIR)/app/tetris/tetris \ |
112 | $(USPACEDIR)/app/tetris/tetris \ |
101 | $(USPACEDIR)/app/tester/tester \ |
113 | $(USPACEDIR)/app/tester/tester \ |
Line 146... | Line 158... | ||
146 | 158 | ||
147 | %.o: %.S |
159 | %.o: %.S |
148 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
160 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
149 | 161 | ||
150 | %.o: %.c |
162 | %.o: %.c |
151 | $(CC) $(DEFS) $(CFLAGS) -c $< -o $@ |
163 | $(CC) -D$(DMACHINE) $(DEFS) $(CFLAGS) -c $< -o $@ |