summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image/Makefile
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2010-01-20 13:26:21 +0000
committerGabor Juhos <juhosg@openwrt.org>2010-01-20 13:26:21 +0000
commit23e7dc9147a6a06d2536b3a0869e28ca45031cc4 (patch)
treee10636c047ef30b80da58378a7e5302f141dbfa0 /target/linux/ar71xx/image/Makefile
parent5e5451a54d2c3bcca2e876be4a2d34b8da59b9b8 (diff)
downloadmtk-20170518-23e7dc9147a6a06d2536b3a0869e28ca45031cc4.zip
mtk-20170518-23e7dc9147a6a06d2536b3a0869e28ca45031cc4.tar.gz
mtk-20170518-23e7dc9147a6a06d2536b3a0869e28ca45031cc4.tar.bz2
ar71xx: rename initramfs u-boot images
SVN-Revision: 19244
Diffstat (limited to 'target/linux/ar71xx/image/Makefile')
-rw-r--r--target/linux/ar71xx/image/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
index 61f390d..cde709f 100644
--- a/target/linux/ar71xx/image/Makefile
+++ b/target/linux/ar71xx/image/Makefile
@@ -14,8 +14,10 @@ $(IMGNAME)-$(2)-$(patsubst jffs2-%,jffs2,$(patsubst squashfs-%,squashfs,$(1)))
endef
VMLINUX:=$(IMGNAME)-vmlinux
+UIMAGE:=$(IMGNAME)-uImage
ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y)
VMLINUX:=$(IMGNAME)-vmlinux-initramfs
+ UIMAGE:=$(IMGNAME)-uImage-initramfs
endif
define CompressLzma
@@ -53,8 +55,8 @@ define Image/BuildKernel
$(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
dd if=$(KDIR)/vmlinux.bin.lzma of=$(VMLINUX).lzma bs=65536 conv=sync
dd if=$(KDIR)/vmlinux.bin.gz of=$(VMLINUX).gz bs=65536 conv=sync
- $(call MkImageGzip,$(KDIR)/vmlinux.bin.gz,$(IMGNAME)-uImage-gzip.bin)
- $(call MkImageLzma,$(KDIR)/vmlinux.bin.lzma,$(IMGNAME)-uImage-lzma.bin)
+ $(call MkImageGzip,$(KDIR)/vmlinux.bin.gz,$(UIMAGE)-gzip.bin)
+ $(call MkImageLzma,$(KDIR)/vmlinux.bin.lzma,$(UIMAGE)-lzma.bin)
endef
define Image/Build/WRT400N