aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2013-06-28 22:56:34 +0000
committerFlorian Fainelli <florian@openwrt.org>2013-06-28 22:56:34 +0000
commit1bd081cf6f48ebabe7ee9fb0c39954861eaedb3a (patch)
tree0d03ac4aa0de1243382a68677973c6cea81aafa3 /target/linux/malta
parent12dc59d5462b9f0bdc2e93aba9c4eaa4140e83da (diff)
downloadupstream-1bd081cf6f48ebabe7ee9fb0c39954861eaedb3a.tar.gz
upstream-1bd081cf6f48ebabe7ee9fb0c39954861eaedb3a.tar.bz2
upstream-1bd081cf6f48ebabe7ee9fb0c39954861eaedb3a.zip
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')
-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)