Author: blogic
Date: 2014-07-11 00:02:24 +0200 (Fri, 11 Jul 2014)
New Revision: 41578

Modified:
   trunk/target/linux/imx6/image/Makefile
Log:
imx6: put kernel and dtb into rootfs by default

this will make the rc1 images boot with the default config.

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/target/linux/imx6/image/Makefile
===================================================================
--- trunk/target/linux/imx6/image/Makefile      2014-07-10 21:11:02 UTC (rev 
41577)
+++ trunk/target/linux/imx6/image/Makefile      2014-07-10 22:02:24 UTC (rev 
41578)
@@ -42,9 +42,9 @@
 
 define Image/InstallKernel/Template
 
- ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),)
+ ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_VENTANA),)
        $(INSTALL_DIR) $(TARGET_DIR)/boot
-   ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),)
+   ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE)$(CONFIG_TARGET_imx6_VENTANA),)
        $(CP) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/
        ln -sf $(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/uImage
    endif
@@ -59,7 +59,7 @@
    endif
  endif
 
- ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
+ ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB)$(CONFIG_TARGET_imx6_VENTANA),)
        $(INSTALL_DIR) $(TARGET_DIR)/boot
        $(foreach dts,$(shell echo $(1)), \
                $(CP) $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb $(TARGET_DIR)/boot/ ; 
\
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to