diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-19 17:00:24 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-20 10:13:50 +0200 |
commit | 2b4d21a3e635264eb61ea4111a419917123774c8 (patch) | |
tree | c671c6314c24a72e4b272ef764ea649fb1b7c178 /target/linux/mxs/image/Makefile | |
parent | 650afe412b3713ded698b1a4028acb1ad0c9d1da (diff) | |
download | upstream-2b4d21a3e635264eb61ea4111a419917123774c8.tar.gz upstream-2b4d21a3e635264eb61ea4111a419917123774c8.tar.bz2 upstream-2b4d21a3e635264eb61ea4111a419917123774c8.zip |
mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/mxs/image/Makefile')
-rw-r--r-- | target/linux/mxs/image/Makefile | 21 |
1 files changed, 4 insertions, 17 deletions
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 |