diff options
| -rw-r--r-- | arch/powerpc/Kconfig | 6 | ||||
| -rw-r--r-- | arch/powerpc/Makefile | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index df338c5cc910..80d114a3a837 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
| @@ -83,6 +83,12 @@ config GENERIC_TBSYNC | |||
| 83 | default y if PPC32 && SMP | 83 | default y if PPC32 && SMP |
| 84 | default n | 84 | default n |
| 85 | 85 | ||
| 86 | config DEFAULT_UIMAGE | ||
| 87 | bool | ||
| 88 | help | ||
| 89 | Used to allow a board to specify it wants a uImage built by default | ||
| 90 | default n | ||
| 91 | |||
| 86 | menu "Processor support" | 92 | menu "Processor support" |
| 87 | choice | 93 | choice |
| 88 | prompt "Processor Type" | 94 | prompt "Processor Type" |
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 44dd82b791d1..15fc3e98ac5c 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile | |||
| @@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/ | |||
| 142 | # Default to zImage, override when needed | 142 | # Default to zImage, override when needed |
| 143 | defaultimage-y := zImage | 143 | defaultimage-y := zImage |
| 144 | defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux | 144 | defaultimage-$(CONFIG_PPC_ISERIES) := vmlinux |
| 145 | defaultimage-$(CONFIG_DEFAULT_UIMAGE) := uImage | ||
| 145 | KBUILD_IMAGE := $(defaultimage-y) | 146 | KBUILD_IMAGE := $(defaultimage-y) |
| 146 | all: $(KBUILD_IMAGE) | 147 | all: $(KBUILD_IMAGE) |
| 147 | 148 | ||
