From 7d70cc1e0c07731992362fab93fcd7a266e76219 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Fri, 12 Oct 2007 15:17:53 +0000 Subject: Use correct uImage location for AVR32 --- target/device/Atmel/Makefile.in | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'target') diff --git a/target/device/Atmel/Makefile.in b/target/device/Atmel/Makefile.in index ed4643c1d..dbc91d4fb 100644 --- a/target/device/Atmel/Makefile.in +++ b/target/device/Atmel/Makefile.in @@ -41,6 +41,14 @@ LINUX26_BUILD_DIR:=$(PROJECT_BUILD_DIR) #LINUX26_BINLOC=$(LINUX26_FORMAT) #LINUX26_BINLOC:=$(BINARIES_DIR)/$(LINUX26_KERNEL) +ifeq ($(BR2_avr32),y) +AVR32_FORMAT:=$(strip $(subst ",,$(BR2_PACKAGE_LINUX_FORMAT))) +#")) +ifeq ($(AVR32_FORMAT),uImage) +LINUX26_BINLOC=arch/$(KERNEL_ARCH)/boot/images/$(AVR32_FORMAT) +endif +endif + LINUX26_COPYTO:=/tftpboot @@ -101,6 +109,9 @@ atmel_status: @echo LINUX_SOURCE=$(LINUX_SOURCE) @echo TARGETS=$(TARGETS) @echo LINUX26_HEADERS_PATCH_DIR=$(LINUX26_HEADERS_PATCH_DIR) + @echo LINUX26_BINLOC=$(LINUX26_BINLOC) + @echo LINUX26_FORMAT=$(LINUX26_FORMAT) + @echo LINUX26_KERNEL=$(LINUX26_KERNEL) #TARGETS+=atmel_status endif -- cgit v1.2.3