diff options
-rw-r--r-- | arch/powerpc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index dc2d18e93002..643839a3f5d8 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
@@ -35,7 +35,11 @@ endif | |||
35 | 35 | ||
36 | export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY | 36 | export CROSS32CC CROSS32AS CROSS32LD CROSS32AR CROSS32OBJCOPY |
37 | 37 | ||
38 | ifeq ($(CROSS_COMPILE),) | ||
38 | KBUILD_DEFCONFIG := $(shell uname -m)_defconfig | 39 | KBUILD_DEFCONFIG := $(shell uname -m)_defconfig |
40 | else | ||
41 | KBUILD_DEFCONFIG := ppc64_defconfig | ||
42 | endif | ||
39 | 43 | ||
40 | ifeq ($(CONFIG_PPC64),y) | 44 | ifeq ($(CONFIG_PPC64),y) |
41 | OLDARCH := ppc64 | 45 | OLDARCH := ppc64 |