diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 00:55:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 00:55:47 -0400 |
commit | e86908614f2c7fec401827e5cefd7a6ea9407f85 (patch) | |
tree | fcb5d9e52422b37bdaf0e647126ebdfc1680f162 /arch/powerpc/boot/Makefile | |
parent | 547307420931344a868275bd7ea7a30f117a15a9 (diff) | |
parent | 9b4b8feb962f4b3e74768b7205f1f8f6cce87238 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
[POWERPC] Add memchr() to the bootwrapper
[POWERPC] Implement logging of unhandled signals
[POWERPC] Add legacy serial support for OPB with flattened device tree
[POWERPC] Use 1TB segments
[POWERPC] XilinxFB: Allow fixed framebuffer base address
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] 4xx: Kilauea defconfig file
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] 85xx: Killed <asm/mpc85xx.h>
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] Make clockevents work on PPC601 processors
...
Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.
Diffstat (limited to 'arch/powerpc/boot/Makefile')
-rw-r--r-- | arch/powerpc/boot/Makefile | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 61a6f34ca5ed..18e32719d0ed 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -25,14 +25,19 @@ BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ | |||
25 | -isystem $(shell $(CROSS32CC) -print-file-name=include) | 25 | -isystem $(shell $(CROSS32CC) -print-file-name=include) |
26 | BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc | 26 | BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc |
27 | 27 | ||
28 | ifdef CONFIG_DEBUG_INFO | ||
29 | BOOTCFLAGS += -g | ||
30 | endif | ||
31 | |||
28 | ifeq ($(call cc-option-yn, -fstack-protector),y) | 32 | ifeq ($(call cc-option-yn, -fstack-protector),y) |
29 | BOOTCFLAGS += -fno-stack-protector | 33 | BOOTCFLAGS += -fno-stack-protector |
30 | endif | 34 | endif |
31 | 35 | ||
32 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) | 36 | BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj) |
33 | 37 | ||
34 | $(obj)/44x.o: BOOTCFLAGS += -mcpu=440 | 38 | $(obj)/4xx.o: BOOTCFLAGS += -mcpu=440 |
35 | $(obj)/ebony.o: BOOTCFLAGS += -mcpu=440 | 39 | $(obj)/ebony.o: BOOTCFLAGS += -mcpu=440 |
40 | $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405 | ||
36 | 41 | ||
37 | zlib := inffast.c inflate.c inftrees.c | 42 | zlib := inffast.c inflate.c inftrees.c |
38 | zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h | 43 | zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h |
@@ -44,10 +49,14 @@ $(addprefix $(obj)/,$(zlib) gunzip_util.o main.o): \ | |||
44 | src-wlib := string.S crt0.S stdio.c main.c flatdevtree.c flatdevtree_misc.c \ | 49 | src-wlib := string.S crt0.S stdio.c main.c flatdevtree.c flatdevtree_misc.c \ |
45 | ns16550.c serial.c simple_alloc.c div64.S util.S \ | 50 | ns16550.c serial.c simple_alloc.c div64.S util.S \ |
46 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ | 51 | gunzip_util.c elf_util.c $(zlib) devtree.c oflib.c ofconsole.c \ |
47 | 44x.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c | 52 | 4xx.c ebony.c mv64x60.c mpsc.c mv64x60_i2c.c cuboot.c bamboo.c \ |
48 | src-plat := of.c cuboot-83xx.c cuboot-85xx.c holly.c \ | 53 | cpm-serial.c stdlib.c mpc52xx-psc.c planetcore.c uartlite.c \ |
54 | fsl-soc.c mpc8xx.c pq2.c | ||
55 | src-plat := of.c cuboot-52xx.c cuboot-83xx.c cuboot-85xx.c holly.c \ | ||
49 | cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ | 56 | cuboot-ebony.c treeboot-ebony.c prpmc2800.c \ |
50 | ps3-head.S ps3-hvcall.S ps3.c | 57 | ps3-head.S ps3-hvcall.S ps3.c treeboot-bamboo.c cuboot-8xx.c \ |
58 | cuboot-pq2.c cuboot-sequoia.c treeboot-walnut.c cuboot-bamboo.c \ | ||
59 | fixed-head.S ep88xc.c cuboot-hpc2.c | ||
51 | src-boot := $(src-wlib) $(src-plat) empty.c | 60 | src-boot := $(src-wlib) $(src-plat) empty.c |
52 | 61 | ||
53 | src-boot := $(addprefix $(obj)/, $(src-boot)) | 62 | src-boot := $(addprefix $(obj)/, $(src-boot)) |
@@ -139,9 +148,17 @@ image-$(CONFIG_PPC_ISERIES) += zImage.iseries | |||
139 | image-$(CONFIG_DEFAULT_UIMAGE) += uImage | 148 | image-$(CONFIG_DEFAULT_UIMAGE) += uImage |
140 | 149 | ||
141 | ifneq ($(CONFIG_DEVICE_TREE),"") | 150 | ifneq ($(CONFIG_DEVICE_TREE),"") |
151 | image-$(CONFIG_PPC_8xx) += cuImage.8xx | ||
152 | image-$(CONFIG_PPC_EP88XC) += zImage.ep88xc | ||
153 | image-$(CONFIG_8260) += cuImage.pq2 | ||
154 | image-$(CONFIG_PPC_MPC52xx) += cuImage.52xx | ||
142 | image-$(CONFIG_PPC_83xx) += cuImage.83xx | 155 | image-$(CONFIG_PPC_83xx) += cuImage.83xx |
143 | image-$(CONFIG_PPC_85xx) += cuImage.85xx | 156 | image-$(CONFIG_PPC_85xx) += cuImage.85xx |
157 | image-$(CONFIG_MPC7448HPC2) += cuImage.hpc2 | ||
144 | image-$(CONFIG_EBONY) += treeImage.ebony cuImage.ebony | 158 | image-$(CONFIG_EBONY) += treeImage.ebony cuImage.ebony |
159 | image-$(CONFIG_BAMBOO) += treeImage.bamboo cuImage.bamboo | ||
160 | image-$(CONFIG_SEQUOIA) += cuImage.sequoia | ||
161 | image-$(CONFIG_WALNUT) += treeImage.walnut | ||
145 | endif | 162 | endif |
146 | 163 | ||
147 | # For 32-bit powermacs, build the COFF and miboot images | 164 | # For 32-bit powermacs, build the COFF and miboot images |