From db4ce3d16c608bdd80c09f5bc72c05b90b8ef8b5 Mon Sep 17 00:00:00 2001 From: Zoltan Herpai Date: Fri, 10 Apr 2015 21:34:21 +0000 Subject: [PATCH] mxs: Include the right kernel image in the rootfs Signed-off-by: Harald Geyer Acked-by: Michael Heimpold SVN-Revision: 45368 --- target/linux/mxs/image/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index 55e88c25f3f..9830a7d616e 100644 --- a/target/linux/mxs/image/Makefile +++ b/target/linux/mxs/image/Makefile @@ -22,10 +22,15 @@ endef define Image/InstallKernel - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE),) mkdir -p $(TARGET_DIR)/boot $(CP) $(LINUX_DIR)/arch/arm/boot/zImage $(TARGET_DIR)/boot/ endif + + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),) + mkdir -p $(TARGET_DIR)/boot + cp $(KDIR)/uImage $(TARGET_DIR)/boot/ + endif ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),) mkdir -p $(TARGET_DIR)/boot -- 2.30.2