Makefile (bf22f6fe2d72b4d7e9035be8ceb340414cf490e3) | Makefile (f5e83fa4c07488406b4a4e0ab7c4efd8df9ad676) |
---|---|
1# This file is included by the global makefile so that you can add your own 2# architecture-specific flags and dependencies. Remember to do have actions 3# for "archclean" and "archdep" for cleaning up and making dependencies for 4# this architecture. 5# 6# This file is subject to the terms and conditions of the GNU General Public 7# License. See the file "COPYING" in the main directory of this archive 8# for more details. --- 134 unchanged lines hidden (view full) --- 143# Default to zImage, override when needed 144defaultimage-y := zImage 145defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage 146KBUILD_IMAGE := $(defaultimage-y) 147all: $(KBUILD_IMAGE) 148 149CPPFLAGS_vmlinux.lds := -Upowerpc 150 | 1# This file is included by the global makefile so that you can add your own 2# architecture-specific flags and dependencies. Remember to do have actions 3# for "archclean" and "archdep" for cleaning up and making dependencies for 4# this architecture. 5# 6# This file is subject to the terms and conditions of the GNU General Public 7# License. See the file "COPYING" in the main directory of this archive 8# for more details. --- 134 unchanged lines hidden (view full) --- 143# Default to zImage, override when needed 144defaultimage-y := zImage 145defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage 146KBUILD_IMAGE := $(defaultimage-y) 147all: $(KBUILD_IMAGE) 148 149CPPFLAGS_vmlinux.lds := -Upowerpc 150 |
151BOOT_TARGETS = zImage zImage.initrd uImage | 151BOOT_TARGETS = zImage zImage.initrd zImage.dts zImage.dts_initrd uImage |
152 153PHONY += $(BOOT_TARGETS) 154 155boot := arch/$(ARCH)/boot 156 157$(BOOT_TARGETS): vmlinux 158 $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) 159 --- 36 unchanged lines hidden (view full) --- 196 @if test "$(call cc-version)" = "0304" ; then \ 197 if ! /bin/echo mftb 5 | $(AS) -v -mppc -many -o $(TOUT) >/dev/null 2>&1 ; then \ 198 echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '; \ 199 echo 'correctly with gcc-3.4 and your version of binutils.'; \ 200 echo '*** Please upgrade your binutils or downgrade your gcc'; \ 201 false; \ 202 fi ; \ 203 fi | 152 153PHONY += $(BOOT_TARGETS) 154 155boot := arch/$(ARCH)/boot 156 157$(BOOT_TARGETS): vmlinux 158 $(Q)$(MAKE) ARCH=ppc64 $(build)=$(boot) $(patsubst %,$(boot)/%,$@) 159 --- 36 unchanged lines hidden (view full) --- 196 @if test "$(call cc-version)" = "0304" ; then \ 197 if ! /bin/echo mftb 5 | $(AS) -v -mppc -many -o $(TOUT) >/dev/null 2>&1 ; then \ 198 echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build '; \ 199 echo 'correctly with gcc-3.4 and your version of binutils.'; \ 200 echo '*** Please upgrade your binutils or downgrade your gcc'; \ 201 false; \ 202 fi ; \ 203 fi |
204 @if test "$(call cc-fullversion)" = "040200" \ 205 && test "x${CONFIG_MODULES}${CONFIG_PPC64}" = "xyy" ; then \ 206 echo -n '*** GCC-4.2.0 cannot compile the 64-bit powerpc ' ; \ 207 echo 'kernel with modules enabled.' ; \ 208 echo -n '*** Please use a different GCC version or ' ; \ 209 echo 'disable kernel modules' ; \ 210 false ; \ 211 fi |
|
204 @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ 205 echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ 206 echo 'correctly with old versions of binutils.' ; \ 207 echo '*** Please upgrade your binutils to 2.12.1 or newer' ; \ 208 false ; \ 209 fi 210 211CLEAN_FILES += $(TOUT) 212 | 212 @if ! /bin/echo dssall | $(AS) -many -o $(TOUT) >/dev/null 2>&1 ; then \ 213 echo -n '*** ${VERSION}.${PATCHLEVEL} kernels no longer build ' ; \ 214 echo 'correctly with old versions of binutils.' ; \ 215 echo '*** Please upgrade your binutils to 2.12.1 or newer' ; \ 216 false ; \ 217 fi 218 219CLEAN_FILES += $(TOUT) 220 |