From: Luka Perkov Date: Fri, 8 Aug 2014 13:38:25 +0000 (+0000) Subject: imx6: drop ventana kernel/rootfs hack X-Git-Tag: reboot~6280 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2b6d364a2d210f4eeb8bdbd91367f1068982bc98;p=openwrt%2Fstaging%2Flynxis.git imx6: drop ventana kernel/rootfs hack In r41578 this was added in order to make default images bootable for the BB release. We need more generic approach for this. Signed-off-by: Luka Perkov SVN-Revision: 42071 --- diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 54cdfd5186..2e2e11b6ac 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -42,9 +42,9 @@ endef define Image/InstallKernel/Template - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_KERNEL),) $(INSTALL_DIR) $(TARGET_DIR)/boot - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_UIMAGE),) $(CP) $(BIN_DIR)/$(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/ ln -sf $(IMG_PREFIX)-uImage $(TARGET_DIR)/boot/uImage endif @@ -59,7 +59,7 @@ define Image/InstallKernel/Template endif endif - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB)$(CONFIG_TARGET_imx6_VENTANA),) + ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),) $(INSTALL_DIR) $(TARGET_DIR)/boot $(foreach dts,$(shell echo $(1)), \ $(CP) $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb $(TARGET_DIR)/boot/ ; \