Changeset 6bbb1610 in mainline for arch/ppc64/loader/Makefile
- Timestamp:
- 2006-05-21T20:13:14Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 433a2aa
- Parents:
- 0ab829c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ppc64/loader/Makefile
r0ab829c r6bbb1610 31 31 32 32 TARGET = ppc-linux-gnu 33 TOOLCHAIN_DIR = /usr/local/ppc /bin33 TOOLCHAIN_DIR = /usr/local/ppc64/bin 34 34 35 35 ifeq ($(COMPILER),native) … … 47 47 endif 48 48 49 CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -m 6449 CFLAGS = -nostdinc -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O3 -mcpu=powerpc64 -msoft-float -m64 50 50 DEFS = 51 51 … … 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.o68 $(LD) -no-check-sections -N -T _link.ld $( OBJECTS) kernel.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.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 elf64-powerpc -B powerpc --rename-section .data=.image $(KERNEL) $@83 _components.h _link.ld $(COMPONENT_OBJECTS): $(COMPONENTS) 84 ./pack $(OBJCOPY) $(COMPONENTS) 78 85 79 86 %.o: %.S
Note:
See TracChangeset
for help on using the changeset viewer.