aboutsummaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-10-12 15:17:53 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-10-12 15:17:53 +0000
commit7d70cc1e0c07731992362fab93fcd7a266e76219 (patch)
tree92c59fd22915a5cf6fde039cba82c54f17c2e774 /target
parentf15be25193e603b64c1c58f0da056b79bde9d123 (diff)
downloadbuildroot-7d70cc1e0c07731992362fab93fcd7a266e76219.tar.gz
buildroot-7d70cc1e0c07731992362fab93fcd7a266e76219.tar.bz2
Use correct uImage location for AVR32
Diffstat (limited to 'target')
-rw-r--r--target/device/Atmel/Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/device/Atmel/Makefile.in b/target/device/Atmel/Makefile.in
index ed4643c1d0..dbc91d4fb8 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