Rev 3024 | Rev 3196 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3024 | Rev 3027 | ||
---|---|---|---|
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 | BFD = elf32-littlearm |
- | |
36 | BFD_NAME = elf32-littlearm |
35 | BFD_NAME = elf32-littlearm |
37 | BFD_ARCH = arm |
36 | BFD_ARCH = arm |
38 | TARGET = arm-linux-gnu |
37 | TARGET = arm-linux-gnu |
39 | TOOLCHAIN_DIR = /usr/local/arm/bin |
38 | TOOLCHAIN_DIR = /usr/local/arm/bin |
40 | 39 | ||
Line 109... | Line 108... | ||
109 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
108 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
110 | 109 | ||
111 | clean: |
110 | clean: |
112 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend |
111 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend |
113 | 112 | ||
114 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) |
113 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in |
115 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS) |
114 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) |
116 | 115 | ||
117 | %.o: %.S |
116 | %.o: %.S |
118 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
117 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
119 | 118 | ||
120 | %.o: %.c |
119 | %.o: %.c |