X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fimx6%2Fimage%2FMakefile;h=d49c180daa5bb417df60e9be06074b9b9ae23fcb;hp=4b649f768d0a0835032dd42c48e2216ced9ba513;hb=6abdb2370a8f5ea3265f65dc9316f03af9b34f02;hpb=92be1ab7df78dddea2930fa27a74e6efad271102 diff --git a/target/linux/imx6/image/Makefile b/target/linux/imx6/image/Makefile index 4b649f768d..d49c180daa 100644 --- a/target/linux/imx6/image/Makefile +++ b/target/linux/imx6/image/Makefile @@ -56,7 +56,7 @@ define Image/InstallKernel/Template 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),) @@ -119,7 +119,7 @@ endef 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