Changeset 3eee37d in mainline for arch/ppc32/loader/Makefile
- Timestamp:
- 2006-05-18T19:42:34Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- de1b8b1
- Parents:
- a62347a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc32/loader/Makefile
ra62347a r3eee37d 57 57 boot.S 58 58 59 COMPONENTS = \ 60 $(KERNELDIR)/kernel.bin \ 61 $(USPACEDIR)/ns/ns \ 62 $(USPACEDIR)/init/init \ 63 $(USPACEDIR)/fb/fb 64 59 65 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 66 COMPONENT_OBJECTS := $(addsuffix .o,$(basename $(notdir $(COMPONENTS)))) 60 67 61 68 .PHONY: all clean depend … … 65 72 -include Makefile.depend 66 73 67 image.boot: depend $(OBJECTS) kernel.o init.o68 $(LD) -no-check-sections -N -T _link.ld $( OBJECTS) kernel.o init.o-o $@74 image.boot: depend _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) kernel.o 75 $(LD) -no-check-sections -N -T _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) -o $@ 69 76 70 77 depend: … … 72 79 73 80 clean: 74 -rm -f $(OBJECTS) image.boot kernel.o init.oMakefile.depend81 -rm -f _components.h _link.ld $(COMPONENT_OBJECTS) $(OBJECTS) image.boot Makefile.depend 75 82 76 kernel.o: $(KERNEL) 77 $(OBJCOPY) -I binary -O elf32-powerpc -B powerpc:common --rename-section .data=.kernel_image $(KERNEL) $@ 78 79 init.o: $(INIT) 80 $(OBJCOPY) -I binary -O elf32-powerpc -B powerpc:common --rename-section .data=.init_image $(INIT) $@ 83 _components.h _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) 84 ./pack $(OBJCOPY) $(COMPONENTS) 81 85 82 86 %.o: %.S
Note:
See TracChangeset
for help on using the changeset viewer.