Rev 1166 | Rev 1219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1166 | Rev 1214 | ||
---|---|---|---|
Line 72... | Line 72... | ||
72 | 72 | ||
73 | clean: |
73 | clean: |
74 | -rm -f $(OBJECTS) image.boot kernel.o Makefile.depend |
74 | -rm -f $(OBJECTS) image.boot kernel.o Makefile.depend |
75 | 75 | ||
76 | kernel.o: $(KERNEL) |
76 | kernel.o: $(KERNEL) |
77 | $(OBJCOPY) -I binary -O elf32-powerpc -B powerpc --rename-section .data=.image $(KERNEL) $@ |
77 | $(OBJCOPY) -I binary -O elf32-powerpc -B powerpc:common --rename-section .data=.image $(KERNEL) $@ |
78 | 78 | ||
79 | %.o: %.S |
79 | %.o: %.S |
80 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
80 | $(CC) $(DEFS) $(CFLAGS) -D__ASM__ -c $< -o $@ |
81 | 81 | ||
82 | %.o: %.c |
82 | %.o: %.c |