initial import
[patches.git] / linux-ppc-defconfig.patch
1 --- arch/powerpc/Makefile.orig 2006-08-05 14:22:50.000000000 -0400
2 +++ arch/powerpc/Makefile 2006-08-05 14:22:35.000000000 -0400
3 @@ -34,6 +34,13 @@
4 export CROSS32CC CROSS32AS CROSS32LD CROSS32OBJCOPY
5
6 KBUILD_DEFCONFIG := $(shell uname -m)_defconfig
7 +ifeq ($(wildcard $(srctree)/arch/powerpc/configs/$(KBUILD_DEFCONFIG)),)
8 +ifeq ($(CONFIG_PPC64),y)
9 +KBUILD_DEFCONFIG := ppc64_defconfig
10 +else
11 +KBUILD_DEFCONFIG := pmac32_defconfig
12 +endif
13 +endif
14
15 ifeq ($(CONFIG_PPC64),y)
16 OLDARCH := ppc64