aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/boot/Makefile56
1 files changed, 37 insertions, 19 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index e8461cb18d04..c802a90ae2d7 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -62,26 +62,45 @@ libfdtheader := fdt.h libfdt.h libfdt_internal.h
62$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o): \ 62$(addprefix $(obj)/,$(libfdt) libfdt-wrapper.o simpleboot.o epapr.o): \
63 $(addprefix $(obj)/,$(libfdtheader)) 63 $(addprefix $(obj)/,$(libfdtheader))
64 64
65src-wlib := string.S crt0.S crtsavres.S stdio.c main.c \ 65src-wlib-y := string.S crt0.S crtsavres.S stdio.c main.c \
66 $(libfdt) libfdt-wrapper.c \ 66 $(libfdt) libfdt-wrapper.c \
67 ns16550.c serial.c simple_alloc.c div64.S util.S \ 67 ns16550.c serial.c simple_alloc.c div64.S util.S \
68 gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ 68 gunzip_util.c elf_util.c $(zlib) devtree.c stdlib.c \
69 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ 69 oflib.c ofconsole.c cuboot.c mpsc.c cpm-serial.c \
70 cpm-serial.c stdlib.c mpc52xx-psc.c planetcore.c uartlite.c \ 70 uartlite.c mpc52xx-psc.c
71 fsl-soc.c mpc8xx.c pq2.c ugecon.c 71src-wlib-$(CONFIG_40x) += 4xx.c planetcore.c
72src-plat := of.c cuboot-52xx.c cuboot-824x.c cuboot-83xx.c cuboot-85xx.c holly.c \ 72src-wlib-$(CONFIG_44x) += 4xx.c ebony.c bamboo.c
73 cuboot-ebony.c cuboot-hotfoot.c epapr.c treeboot-ebony.c \ 73src-wlib-$(CONFIG_8xx) += mpc8xx.c planetcore.c
74 prpmc2800.c \ 74src-wlib-$(CONFIG_PPC_82xx) += pq2.c fsl-soc.c planetcore.c
75 ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c \ 75src-wlib-$(CONFIG_EMBEDDED6xx) += mv64x60.c mv64x60_i2c.c ugecon.c
76 cuboot-pq2.c cuboot-sequoia.c treeboot-walnut.c \ 76
77 cuboot-bamboo.c cuboot-mpc7448hpc2.c cuboot-taishan.c \ 77src-plat-y := of.c
78 fixed-head.S ep88xc.c ep405.c cuboot-c2k.c \ 78src-plat-$(CONFIG_40x) += fixed-head.S ep405.c cuboot-hotfoot.c \
79 cuboot-katmai.c cuboot-rainier.c redboot-8xx.c ep8248e.c \ 79 treeboot-walnut.c cuboot-acadia.c \
80 cuboot-warp.c cuboot-85xx-cpm2.c cuboot-yosemite.c simpleboot.c \ 80 cuboot-kilauea.c simpleboot.c \
81 virtex405-head.S virtex.c redboot-83xx.c cuboot-sam440ep.c \ 81 virtex405-head.S virtex.c
82 cuboot-acadia.c cuboot-amigaone.c cuboot-kilauea.c \ 82src-plat-$(CONFIG_44x) += treeboot-ebony.c cuboot-ebony.c treeboot-bamboo.c \
83 gamecube-head.S gamecube.c wii-head.S wii.c treeboot-iss4xx.c \ 83 cuboot-bamboo.c cuboot-sam440ep.c \
84 treeboot-currituck.c 84 cuboot-sequoia.c cuboot-rainier.c \
85 cuboot-taishan.c cuboot-katmai.c \
86 cuboot-warp.c cuboot-yosemite.c \
87 treeboot-iss4xx.c treeboot-currituck.c \
88 simpleboot.c fixed-head.S virtex.c
89src-plat-$(CONFIG_8xx) += cuboot-8xx.c fixed-head.S ep88xc.c redboot-8xx.c
90src-plat-$(CONFIG_PPC_MPC52xx) += cuboot-52xx.c
91src-plat-$(CONFIG_PPC_82xx) += cuboot-pq2.c fixed-head.S ep8248e.c cuboot-824x.c
92src-plat-$(CONFIG_PPC_83xx) += cuboot-83xx.c fixed-head.S redboot-83xx.c
93src-plat-$(CONFIG_FSL_SOC_BOOKE) += cuboot-85xx.c cuboot-85xx-cpm2.c
94src-plat-$(CONFIG_EMBEDDED6xx) += cuboot-pq2.c cuboot-mpc7448hpc2.c \
95 cuboot-c2k.c gamecube-head.S \
96 gamecube.c wii-head.S wii.c holly.c \
97 prpmc2800.c
98src-plat-$(CONFIG_AMIGAONE) += cuboot-amigaone.c
99src-plat-$(CONFIG_PPC_PS3) += ps3-head.S ps3-hvcall.S ps3.c
100src-plat-$(CONFIG_EPAPR_BOOT) += epapr.c
101
102src-wlib := $(sort $(src-wlib-y))
103src-plat := $(sort $(src-plat-y))
85src-boot := $(src-wlib) $(src-plat) empty.c 104src-boot := $(src-wlib) $(src-plat) empty.c
86 105
87src-boot := $(addprefix $(obj)/, $(src-boot)) 106src-boot := $(addprefix $(obj)/, $(src-boot))
@@ -412,4 +431,3 @@ $(wrapper-installed): $(DESTDIR)$(WRAPPER_BINDIR) $(srctree)/$(obj)/wrapper | $(
412 $(call cmd,install_wrapper) 431 $(call cmd,install_wrapper)
413 432
414$(obj)/bootwrapper_install: $(all-installed) 433$(obj)/bootwrapper_install: $(all-installed)
415