Skip to content
Snippets Groups Projects
Commit 2d9ded9f authored by Florian Fainelli's avatar Florian Fainelli
Browse files

realview: fix zImage-initramfs installation


We were copying the actual vmlinux-initramfs.elf kernel which cannot be
launched by QEMU or a real bootloader, use zImage-initramfs instead.

Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>

SVN-Revision: 39756
parent 0bf90321
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,11 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
define Image/BuildKernel
cp $(LINUX_DIR)/arch/$(ARCH)/boot/$(subst ",,$(KERNELNAME)) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
cp $(KDIR)/$(subst ",,$(KERNELNAME)) $(BIN_DIR)/openwrt-$(BOARD)-vmlinux.elf
endef
define Image/BuildKernel/Initramfs
cp $(KDIR)/$(subst ",,$(KERNELNAME))-initramfs $(BIN_DIR)/openwrt-$(BOARD)-vmlinux-initramfs.elf
endef
define Image/Build/squashfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment