summaryrefslogtreecommitdiff
path: root/arch/xtensa/boot/boot-uboot/Makefile
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2012-11-05 07:36:00 +0400
committerChris Zankel <chris@zankel.net>2012-12-18 21:10:23 -0800
commit0322cabd39e27614772595abb395871e86ebff66 (patch)
treef4d7a40b9de5de0c59bff3ebd818ba396a4e213a /arch/xtensa/boot/boot-uboot/Makefile
parent3f5ec298e56587462d91320c9e49f3e38f2beb17 (diff)
xtensa: add U-Boot image support (uImage).
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa/boot/boot-uboot/Makefile')
-rw-r--r--arch/xtensa/boot/boot-uboot/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/xtensa/boot/boot-uboot/Makefile b/arch/xtensa/boot/boot-uboot/Makefile
new file mode 100644
index 000000000000..bfbf8af582f1
--- /dev/null
+++ b/arch/xtensa/boot/boot-uboot/Makefile
@@ -0,0 +1,14 @@
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License. See the file "COPYING" in the main directory of this archive
+# for more details.
+#
+
+UIMAGE_LOADADDR = 0xd0001000
+UIMAGE_COMPRESSION = gzip
+
+$(obj)/../uImage: vmlinux.bin.gz FORCE
+ $(call if_changed,uimage)
+ $(Q)$(kecho) ' Kernel: $@ is ready'
+
+zImage: $(obj)/../uImage