Rev 3024 | Rev 3052 | Go to most recent revision | Show entire file | Regard 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-powerpc |
- | |
36 | BFD_NAME = elf32-powerpc |
35 | BFD_NAME = elf32-powerpc |
37 | BFD_ARCH = powerpc:common |
36 | BFD_ARCH = powerpc:common |
38 | TARGET = ppc-linux-gnu |
37 | TARGET = ppc-linux-gnu |
39 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
38 | TOOLCHAIN_DIR = /usr/local/ppc/bin |
40 | 39 | ||
Line 104... | Line 103... | ||
104 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
103 | -makedepend $(DEFS) $(CFLAGS) -f - $(SOURCES) > Makefile.depend 2> /dev/null |
105 | 104 | ||
106 | clean: |
105 | clean: |
107 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend |
106 | -rm -f _components.h _components.c _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend |
108 | 107 | ||
109 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) |
108 | _components.h _components.c _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) _link.ld.in |
110 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD) $(BFD_ARCH) 4096 $(COMPONENTS) |
109 | ../../../tools/pack.py $(OBJCOPY) $(BFD_NAME) $(BFD_ARCH) 4096 "unsigned int" $(COMPONENTS) |
111 | 110 | ||
112 | %.o: %.S |
111 | %.o: %.S |
113 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
112 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
114 | 113 | ||
115 | %.o: %.c |
114 | %.o: %.c |