aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/realview/image
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2014-02-27 00:12:53 +0000
committerFlorian Fainelli <florian@openwrt.org>2014-02-27 00:12:53 +0000
commit444bf4692db40ad899a7175d5a66923f7e5e6cd7 (patch)
treea7e31b59d74e09498c418ee912933963a4facda6 /target/linux/realview/image
parentc71d1c05caf9f77ddfd12c3c655c6a75074bb68d (diff)
downloadmaster-187ad058-444bf4692db40ad899a7175d5a66923f7e5e6cd7.tar.gz
master-187ad058-444bf4692db40ad899a7175d5a66923f7e5e6cd7.tar.bz2
master-187ad058-444bf4692db40ad899a7175d5a66923f7e5e6cd7.zip
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: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39756 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/realview/image')
-rw-r--r--target/linux/realview/image/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/realview/image/Makefile b/target/linux/realview/image/Makefile
index dd0d9ee76d..c6ff8ce46a 100644
--- a/target/linux/realview/image/Makefile
+++ b/target/linux/realview/image/Makefile
@@ -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