From e04ea429f66c24b8740e7948d53696774f08f0d0 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 28 Jun 2013 22:56:34 +0000 Subject: targets: fix remaining targets for initramfs builds Fix some bugs that slipped through while making initramfs non exclusive. Signed-off-by: Florian Fainelli git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37079 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/malta/image/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/malta/image/Makefile') diff --git a/target/linux/malta/image/Makefile b/target/linux/malta/image/Makefile index c0e520fbee..054f7b7265 100644 --- a/target/linux/malta/image/Makefile +++ b/target/linux/malta/image/Makefile @@ -27,6 +27,9 @@ 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) -- cgit v1.2.3