From: Thomas Petazzoni Date: Tue, 7 Sep 2010 13:08:07 +0000 (+0200) Subject: linux: fix uImage location on AVR32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96652637ccfd94442224019c54341bf86094366a;p=buildroot.git linux: fix uImage location on AVR32 On most architectures, the kernel image can be found in arch//boot, but on AVR32, it's in arch//boot/images. Issue initially reported by Joachim Pihl . Signed-off-by: Thomas Petazzoni --- diff --git a/linux/linux.mk b/linux/linux.mk index 4490023a42..55dc2bfe88 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -42,7 +42,11 @@ else ifeq ($(BR2_LINUX_KERNEL_VMLINUX_BIN),y) LINUX26_IMAGE_NAME=vmlinux.bin endif +ifeq ($(KERNEL_ARCH),avr32) +LINUX26_IMAGE_PATH=$(LINUX26_DIR)/arch/$(KERNEL_ARCH)/boot/images/$(LINUX26_IMAGE_NAME) +else LINUX26_IMAGE_PATH=$(LINUX26_DIR)/arch/$(KERNEL_ARCH)/boot/$(LINUX26_IMAGE_NAME) +endif # Download $(LINUX26_DIR)/.stamp_downloaded: