aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/malta/image
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
commit8ea5e19823917e48c97fb3195ffed9d0fac24626 (patch)
tree7dcbc23dcdd63fb5078b9d5bc24bb0d9b34081d5 /target/linux/malta/image
parent78ac19be04c06fe91d68b77c0f9e783c050f66e7 (diff)
downloadupstream-8ea5e19823917e48c97fb3195ffed9d0fac24626.tar.gz
upstream-8ea5e19823917e48c97fb3195ffed9d0fac24626.tar.bz2
upstream-8ea5e19823917e48c97fb3195ffed9d0fac24626.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> SVN-Revision: 37079
Diffstat (limited to 'target/linux/malta/image')
-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)