imx6: minor image cleanup
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 31 Oct 2013 11:44:27 +0000 (11:44 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 31 Oct 2013 11:44:27 +0000 (11:44 +0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38628 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/imx6/image/Makefile

index 4b649f7..d49c180 100644 (file)
@@ -56,7 +56,7 @@ define Image/InstallKernel/Template
        ln -sf $(IMG_PREFIX)-$(1)-fit-uImage.itb $(TARGET_DIR)/boot/uImage.itb
    endif
  endif
        ln -sf $(IMG_PREFIX)-$(1)-fit-uImage.itb $(TARGET_DIR)/boot/uImage.itb
    endif
  endif
+
  ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
        $(INSTALL_DIR) $(TARGET_DIR)/boot
   ifneq ($(1),)
  ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_DTB),)
        $(INSTALL_DIR) $(TARGET_DIR)/boot
   ifneq ($(1),)
@@ -119,7 +119,7 @@ endef
 define Image/Build
        $(if $(Image/Build/$(1)), \
                $(call Image/Build/$(1),$(1)), \
 define Image/Build
        $(if $(Image/Build/$(1)), \
                $(call Image/Build/$(1),$(1)), \
-               $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
+               $(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(call sanitize_profile_name)-$(1).img \
        )
 endef
 
        )
 endef