Browse Source

mxs: Include the right kernel image in the rootfs

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

SVN-Revision: 45368
Zoltan Herpai 10 năm trước cách đây
mục cha
commit
db4ce3d16c
1 tập tin đã thay đổi với 6 bổ sung1 xóa
  1. 6 1
      target/linux/mxs/image/Makefile

+ 6 - 1
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