summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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