X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fpowerpc%2FMakefile;fp=arch%2Fpowerpc%2FMakefile;h=5500ab55d042840db244abf496d7b66a7087f825;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=01667d1d571dbdee4636760d924b98604404b8e0;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 01667d1d5..5500ab55d 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -104,10 +104,7 @@ ifndef CONFIG_FSL_BOOKE CFLAGS += -mstring endif -ifeq ($(CONFIG_6xx),y) -CFLAGS += -mcpu=powerpc -endif - +cpu-as-$(CONFIG_PPC64BRIDGE) += -Wa,-mppc64bridge cpu-as-$(CONFIG_4xx) += -Wa,-m405 cpu-as-$(CONFIG_6xx) += -Wa,-maltivec cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec @@ -132,8 +129,13 @@ core-y += arch/powerpc/kernel/ \ arch/powerpc/lib/ \ arch/powerpc/sysdev/ \ arch/powerpc/platforms/ -core-$(CONFIG_MATH_EMULATION) += arch/powerpc/math-emu/ +core-$(CONFIG_PPC32) += arch/ppc/kernel/ +core-$(CONFIG_MATH_EMULATION) += arch/ppc/math-emu/ core-$(CONFIG_XMON) += arch/powerpc/xmon/ +core-$(CONFIG_APUS) += arch/ppc/amiga/ +drivers-$(CONFIG_8xx) += arch/ppc/8xx_io/ +drivers-$(CONFIG_4xx) += arch/ppc/4xx_io/ +drivers-$(CONFIG_CPM2) += arch/ppc/8260_io/ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ @@ -146,9 +148,9 @@ all: $(KBUILD_IMAGE) CPPFLAGS_vmlinux.lds := -Upowerpc -BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm uImage vmlinux.bin +BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm uImage -PHONY += $(BOOT_TARGETS) +.PHONY: $(BOOT_TARGETS) boot := arch/$(ARCH)/boot