Makefile (87d8a69709d971913e6cc7210450fcb8be963667) | Makefile (b4e8c8dd8456c1d3685fb5b715c9795d250f500e) |
---|---|
1# Makefile for making ELF bootable images for booting on CHRP 2# using Open Firmware. 3# 4# Geert Uytterhoeven September 1997 5# 6# Based on coffboot by Paul Mackerras 7# Simplified for ppc64 by Todd Inglett 8# --- 30 unchanged lines hidden (view full) --- 39 40$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 41$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 42$(obj)/cuboot-hotfoot.o: BOOTCFLAGS += -mcpu=405 43$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 44$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 45$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 46$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 | 1# Makefile for making ELF bootable images for booting on CHRP 2# using Open Firmware. 3# 4# Geert Uytterhoeven September 1997 5# 6# Based on coffboot by Paul Mackerras 7# Simplified for ppc64 by Todd Inglett 8# --- 30 unchanged lines hidden (view full) --- 39 40$(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 41$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405 42$(obj)/cuboot-hotfoot.o: BOOTCFLAGS += -mcpu=405 43$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405 44$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405 45$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405 46$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 |
47$(obj)/treeboot-iss4xx.o: BOOTCFLAGS += -mcpu=405 |
|
47$(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405 48 49 50zlib := inffast.c inflate.c inftrees.c 51zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h 52zliblinuxheader := zlib.h zconf.h zutil.h 53 54$(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ --- 17 unchanged lines hidden (view full) --- 72 ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c \ 73 cuboot-pq2.c cuboot-sequoia.c treeboot-walnut.c \ 74 cuboot-bamboo.c cuboot-mpc7448hpc2.c cuboot-taishan.c \ 75 fixed-head.S ep88xc.c ep405.c cuboot-c2k.c \ 76 cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \ 77 cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ 78 virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ 79 cuboot-acadia.c cuboot-amigaone.c cuboot-kilauea.c \ | 48$(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405 49 50 51zlib := inffast.c inflate.c inftrees.c 52zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h 53zliblinuxheader := zlib.h zconf.h zutil.h 54 55$(addprefix $(obj)/,$(zlib) cuboot-c2k.o gunzip_util.o main.o prpmc2800.o): \ --- 17 unchanged lines hidden (view full) --- 73 ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c \ 74 cuboot-pq2.c cuboot-sequoia.c treeboot-walnut.c \ 75 cuboot-bamboo.c cuboot-mpc7448hpc2.c cuboot-taishan.c \ 76 fixed-head.S ep88xc.c ep405.c cuboot-c2k.c \ 77 cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \ 78 cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ 79 virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ 80 cuboot-acadia.c cuboot-amigaone.c cuboot-kilauea.c \ |
80 gamecube-head.S gamecube.c wii-head.S wii.c | 81 gamecube-head.S gamecube.c wii-head.S wii.c treeboot-iss4xx.c |
81src-boot := $(src-wlib) $(src-plat) empty.c 82 83src-boot := $(addprefix $(obj)/, $(src-boot)) 84obj-boot := $(addsuffix .o, $(basename $(src-boot))) 85obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-wlib)))) 86obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat)))) 87 88quiet_cmd_copy_zlib = COPY $@ --- 75 unchanged lines hidden (view full) --- 164endif 165 166# args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd 167quiet_cmd_wrap = WRAP $@ 168 cmd_wrap =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \ 169 $(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux 170 171image-$(CONFIG_PPC_PSERIES) += zImage.pseries | 82src-boot := $(src-wlib) $(src-plat) empty.c 83 84src-boot := $(addprefix $(obj)/, $(src-boot)) 85obj-boot := $(addsuffix .o, $(basename $(src-boot))) 86obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-wlib)))) 87obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat)))) 88 89quiet_cmd_copy_zlib = COPY $@ --- 75 unchanged lines hidden (view full) --- 165endif 166 167# args (to if_changed): 1 = (this rule), 2 = platform, 3 = dts 4=dtb 5=initrd 168quiet_cmd_wrap = WRAP $@ 169 cmd_wrap =$(CONFIG_SHELL) $(wrapper) -c -o $@ -p $2 $(CROSSWRAP) \ 170 $(if $3, -s $3)$(if $4, -d $4)$(if $5, -i $5) vmlinux 171 172image-$(CONFIG_PPC_PSERIES) += zImage.pseries |
172image-$(CONFIG_PPC_MAPLE) += zImage.pseries | 173image-$(CONFIG_PPC_MAPLE) += zImage.maple |
173image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries 174image-$(CONFIG_PPC_PS3) += dtbImage.ps3 175image-$(CONFIG_PPC_CELLEB) += zImage.pseries 176image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries 177image-$(CONFIG_PPC_CHRP) += zImage.chrp 178image-$(CONFIG_PPC_EFIKA) += zImage.chrp 179image-$(CONFIG_PPC_PMAC) += zImage.pmac 180image-$(CONFIG_PPC_HOLLY) += dtbImage.holly --- 20 unchanged lines hidden (view full) --- 201image-$(CONFIG_BAMBOO) += treeImage.bamboo cuImage.bamboo 202image-$(CONFIG_SAM440EP) += cuImage.sam440ep 203image-$(CONFIG_SEQUOIA) += cuImage.sequoia 204image-$(CONFIG_RAINIER) += cuImage.rainier 205image-$(CONFIG_TAISHAN) += cuImage.taishan 206image-$(CONFIG_KATMAI) += cuImage.katmai 207image-$(CONFIG_WARP) += cuImage.warp 208image-$(CONFIG_YOSEMITE) += cuImage.yosemite | 174image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries 175image-$(CONFIG_PPC_PS3) += dtbImage.ps3 176image-$(CONFIG_PPC_CELLEB) += zImage.pseries 177image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries 178image-$(CONFIG_PPC_CHRP) += zImage.chrp 179image-$(CONFIG_PPC_EFIKA) += zImage.chrp 180image-$(CONFIG_PPC_PMAC) += zImage.pmac 181image-$(CONFIG_PPC_HOLLY) += dtbImage.holly --- 20 unchanged lines hidden (view full) --- 202image-$(CONFIG_BAMBOO) += treeImage.bamboo cuImage.bamboo 203image-$(CONFIG_SAM440EP) += cuImage.sam440ep 204image-$(CONFIG_SEQUOIA) += cuImage.sequoia 205image-$(CONFIG_RAINIER) += cuImage.rainier 206image-$(CONFIG_TAISHAN) += cuImage.taishan 207image-$(CONFIG_KATMAI) += cuImage.katmai 208image-$(CONFIG_WARP) += cuImage.warp 209image-$(CONFIG_YOSEMITE) += cuImage.yosemite |
210image-$(CONFIG_ISS4xx) += treeImage.iss4xx \ 211 treeImage.iss4xx-mpic |
|
209 210# Board ports in arch/powerpc/platform/8xx/Kconfig 211image-$(CONFIG_MPC86XADS) += cuImage.mpc866ads 212image-$(CONFIG_MPC885ADS) += cuImage.mpc885ads 213image-$(CONFIG_PPC_EP88XC) += dtbImage.ep88xc 214image-$(CONFIG_PPC_ADDER875) += cuImage.adder875-uboot \ 215 dtbImage.adder875-redboot 216 --- 129 unchanged lines hidden (view full) --- 346 347install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y)) 348 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $^ 349 350# anything not in $(targets) 351clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ 352 zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ 353 zImage.iseries zImage.miboot zImage.pmac zImage.pseries \ | 212 213# Board ports in arch/powerpc/platform/8xx/Kconfig 214image-$(CONFIG_MPC86XADS) += cuImage.mpc866ads 215image-$(CONFIG_MPC885ADS) += cuImage.mpc885ads 216image-$(CONFIG_PPC_EP88XC) += dtbImage.ep88xc 217image-$(CONFIG_PPC_ADDER875) += cuImage.adder875-uboot \ 218 dtbImage.adder875-redboot 219 --- 129 unchanged lines hidden (view full) --- 349 350install: $(CONFIGURE) $(addprefix $(obj)/, $(image-y)) 351 sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" $^ 352 353# anything not in $(targets) 354clean-files += $(image-) $(initrd-) cuImage.* dtbImage.* treeImage.* \ 355 zImage zImage.initrd zImage.chrp zImage.coff zImage.holly \ 356 zImage.iseries zImage.miboot zImage.pmac zImage.pseries \ |
354 simpleImage.* otheros.bld *.dtb | 357 zImage.maple simpleImage.* otheros.bld *.dtb |
355 356# clean up files cached by wrapper 357clean-kernel := vmlinux.strip vmlinux.bin 358clean-kernel += $(addsuffix .gz,$(clean-kernel)) 359# If not absolute clean-files are relative to $(obj). 360clean-files += $(addprefix $(objtree)/, $(clean-kernel)) 361 362WRAPPER_OBJDIR := /usr/lib/kernel-wrapper --- 46 unchanged lines hidden --- | 358 359# clean up files cached by wrapper 360clean-kernel := vmlinux.strip vmlinux.bin 361clean-kernel += $(addsuffix .gz,$(clean-kernel)) 362# If not absolute clean-files are relative to $(obj). 363clean-files += $(addprefix $(objtree)/, $(clean-kernel)) 364 365WRAPPER_OBJDIR := /usr/lib/kernel-wrapper --- 46 unchanged lines hidden --- |