summaryrefslogtreecommitdiff
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-04-13 20:06:47 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-04-13 20:06:47 +0000
commit232c61742e7391edeb7c429ab9cc14652c2894ac (patch)
treed5b050d5bb1f5e487ea1f836ee30d52c77ed1d57 /target/linux/mvebu
parent1bf8e555bb3466baf775113ab27aa8f05f0e6aa7 (diff)
downloadmtk-20170518-232c61742e7391edeb7c429ab9cc14652c2894ac.zip
mtk-20170518-232c61742e7391edeb7c429ab9cc14652c2894ac.tar.gz
mtk-20170518-232c61742e7391edeb7c429ab9cc14652c2894ac.tar.bz2
mvebu: copy the initramfs files to the bin dir
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45421
Diffstat (limited to 'target/linux/mvebu')
-rw-r--r--target/linux/mvebu/image/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile
index 0d75e30..e6e7529 100644
--- a/target/linux/mvebu/image/Makefile
+++ b/target/linux/mvebu/image/Makefile
@@ -14,8 +14,6 @@ JFFS2_BLOCKSIZE = 128k
KDIR_TMP:=$(KDIR)/tmp
-UIMAGE:=$(BIN_DIR)/$(IMG_PREFIX)-uImage
-
define Image/Build/DTB
cp $(KDIR)/zImage$(2) $(KDIR)/zImage$(2)-$(1);
cat $(DTS_DIR)/$(1).dtb >> $(KDIR)/zImage$(2)-$(1);
@@ -44,6 +42,7 @@ define NANDProfile
define Image/Build/Profile/$(1)/Initramfs
$(call Image/Build/DTB,$(2),-initramfs)
+ cp $(KDIR)/uImage-initramfs-$(2) $(BIN_DIR)/$(IMG_PREFIX)-$(2)-initramfs
endef
define Image/Build/Profile/$(1)/squashfs