malta: avoid redundant vmlinux-initramfs.elf copy
authorGabor Juhos <juhosg@openwrt.org>
Fri, 19 Jul 2013 17:12:46 +0000 (17:12 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 19 Jul 2013 17:12:46 +0000 (17:12 +0000)
Patchwork: http://patchwork.openwrt.org/patch/3811/
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37453

target/linux/malta/image/Makefile

index 054f7b726509f803b1489aa8da25ca75b4137901..c0e520fbeee1e200ba1a258e078a2abac999ff5b 100644 (file)
@@ -27,9 +27,6 @@ endef
 
 define Image/BuildKernel
        cp $(KDIR)/vmlinux.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf
-ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
-       cp $(KDIR)/vmlinux-initramfs.elf $(BIN_DIR)/$(IMG_PREFIX)-vmlinux-initramfs.elf
-endif
        $(call CompressLzma,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.lzma)
        $(call MkuImage,lzma,,$(KDIR)/vmlinux.bin.lzma,$(BIN_DIR)/$(IMG_PREFIX)-uImage-lzma)
        $(call CompressGzip,$(KDIR)/vmlinux,$(KDIR)/vmlinux.bin.gz)