summaryrefslogtreecommitdiff
path: root/target/linux/malta/image/Makefile
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-28 22:56:34 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-06-28 22:56:34 +0000
commite04ea429f66c24b8740e7948d53696774f08f0d0 (patch)
tree0d03ac4aa0de1243382a68677973c6cea81aafa3 /target/linux/malta/image/Makefile
parentb352a65235a5a9c13e4ba34d704d06fa5a03ccdb (diff)
targets: fix remaining targets for initramfs builds
Fix some bugs that slipped through while making initramfs non exclusive. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37079 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/malta/image/Makefile')
-rw-r--r--target/linux/malta/image/Makefile3
1 files changed, 3 insertions, 0 deletions
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)