Author: wigyori
Date: 2015-04-10 23:34:21 +0200 (Fri, 10 Apr 2015)
New Revision: 45368

Modified:
   trunk/target/linux/mxs/image/Makefile
Log:
mxs: Include the right kernel image in the rootfs

Signed-off-by: Harald Geyer <[email protected]>
Acked-by: Michael Heimpold <[email protected]>



Modified: trunk/target/linux/mxs/image/Makefile
===================================================================
--- trunk/target/linux/mxs/image/Makefile       2015-04-10 20:39:44 UTC (rev 
45367)
+++ trunk/target/linux/mxs/image/Makefile       2015-04-10 21:34:21 UTC (rev 
45368)
@@ -22,10 +22,15 @@
 
 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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to