From 96652637ccfd94442224019c54341bf86094366a Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 7 Sep 2010 15:08:07 +0200 Subject: [PATCH] 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 --- linux/linux.mk | 4 ++++ 1 file changed, 4 insertions(+) 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: -- 2.30.2