Use correct uImage location for AVR32
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 12 Oct 2007 15:17:53 +0000 (15:17 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Fri, 12 Oct 2007 15:17:53 +0000 (15:17 -0000)
target/device/Atmel/Makefile.in

index ed4643c1d09762cfd6736f25c05624682e970d4f..dbc91d4fb84432bb8cf1c2320d6a65f831eb902c 100644 (file)
@@ -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