X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=target%2Flinux%2Fmxs%2Fimage%2FMakefile;h=3898c6e1f3b1e9863a58d03aa85205f643169b1e;hp=94fed8215c3ea9eb8cf01c909372c0154d58d2e7;hb=2b4d21a3e635264eb61ea4111a419917123774c8;hpb=650afe412b3713ded698b1a4028acb1ad0c9d1da diff --git a/target/linux/mxs/image/Makefile b/target/linux/mxs/image/Makefile index 94fed8215c..3898c6e1f3 100644 --- a/target/linux/mxs/image/Makefile +++ b/target/linux/mxs/image/Makefile @@ -24,24 +24,11 @@ define Image/BuildKernel endef define Image/InstallKernel - - ifneq ($(CONFIG_TARGET_ROOTFS_INCLUDE_ZIMAGE),) - mkdir -p $(TARGET_DIR)/boot - cp $(KDIR)/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 - $(foreach board,$(BOARDS), - $(CP) $(DTS_DIR)/$(board).dtb $(TARGET_DIR)/boot/ - ) - endif - + cp \ + $(KDIR)/zImage $(KDIR)/uImage \ + $(foreach board,$(BOARDS),$(DTS_DIR)/$(board).dtb) \ + $(TARGET_DIR)/boot/ endef define Image/Build/SDCard-vfat-ext4