diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:43:49 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-08 05:43:49 -0400 |
commit | 1d6ae775d7a948c9575658eb41184fd2e506c0df (patch) | |
tree | 8128a28e89d82f13bb8e3a2160382240c66e2816 /arch/ppc64/Makefile | |
parent | 739cdbf1d8f0739b80035b80d69d871e33749b86 (diff) | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'arch/ppc64/Makefile')
-rw-r--r-- | arch/ppc64/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/ppc64/Makefile b/arch/ppc64/Makefile index 731b84758331..8189953a372c 100644 --- a/arch/ppc64/Makefile +++ b/arch/ppc64/Makefile | |||
@@ -49,12 +49,14 @@ NM := $(NM) --synthetic | |||
49 | 49 | ||
50 | endif | 50 | endif |
51 | 51 | ||
52 | CHECKFLAGS += -m64 -D__powerpc__ | 52 | CHECKFLAGS += -m64 -D__powerpc__ -D__powerpc64__ |
53 | 53 | ||
54 | LDFLAGS := -m elf64ppc | 54 | LDFLAGS := -m elf64ppc |
55 | LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD) | 55 | LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD) |
56 | CFLAGS += -msoft-float -pipe -mminimal-toc -mtraceback=none \ | 56 | CFLAGS += -msoft-float -pipe -mminimal-toc -mtraceback=none \ |
57 | -mcall-aixdesc | 57 | -mcall-aixdesc |
58 | # Temporary hack until we have migrated to asm-powerpc | ||
59 | CPPFLAGS += -Iinclude3 | ||
58 | 60 | ||
59 | GCC_VERSION := $(call cc-version) | 61 | GCC_VERSION := $(call cc-version) |
60 | GCC_BROKEN_VEC := $(shell if [ $(GCC_VERSION) -lt 0400 ] ; then echo "y"; fi ;) | 62 | GCC_BROKEN_VEC := $(shell if [ $(GCC_VERSION) -lt 0400 ] ; then echo "y"; fi ;) |
@@ -112,6 +114,7 @@ all: $(KBUILD_IMAGE) | |||
112 | 114 | ||
113 | archclean: | 115 | archclean: |
114 | $(Q)$(MAKE) $(clean)=$(boot) | 116 | $(Q)$(MAKE) $(clean)=$(boot) |
117 | $(Q)rm -rf include3 | ||
115 | 118 | ||
116 | prepare: include/asm-ppc64/offsets.h | 119 | prepare: include/asm-ppc64/offsets.h |
117 | 120 | ||
@@ -121,6 +124,12 @@ arch/ppc64/kernel/asm-offsets.s: include/asm include/linux/version.h \ | |||
121 | include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.s | 124 | include/asm-ppc64/offsets.h: arch/ppc64/kernel/asm-offsets.s |
122 | $(call filechk,gen-asm-offsets) | 125 | $(call filechk,gen-asm-offsets) |
123 | 126 | ||
127 | # Temporary hack until we have migrated to asm-powerpc | ||
128 | include/asm: include3/asm | ||
129 | include3/asm: | ||
130 | $(Q)if [ ! -d include3 ]; then mkdir -p include3; fi; | ||
131 | $(Q)ln -fsn $(srctree)/include/asm-powerpc include3/asm | ||
132 | |||
124 | define archhelp | 133 | define archhelp |
125 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' | 134 | echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' |
126 | echo ' zImage.initrd- Compressed kernel image with initrd attached,' | 135 | echo ' zImage.initrd- Compressed kernel image with initrd attached,' |