aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/gemini
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-14 07:41:43 +0000
committerJohn Crispin <john@openwrt.org>2015-07-14 07:41:43 +0000
commitea5b09bda355fc55388f5cf6548f283b1107077d (patch)
treed9ab22bf32941e48b3d733103894a6702a8a4093 /target/linux/gemini
parent1aca6e6b27368eea5b58aed69857a8672bb8c3d0 (diff)
downloadupstream-ea5b09bda355fc55388f5cf6548f283b1107077d.tar.gz
upstream-ea5b09bda355fc55388f5cf6548f283b1107077d.tar.bz2
upstream-ea5b09bda355fc55388f5cf6548f283b1107077d.zip
gemini: copy kernel image to BIN_DIR
Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 46351
Diffstat (limited to 'target/linux/gemini')
-rw-r--r--target/linux/gemini/image/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 7ed1d61f30..1c51b62f68 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -74,7 +74,8 @@ define Image/Build
dd if=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img of=$(BIN_DIR)/rd.gz bs=6144k count=1
# dd if=/dev/zero of=$(BIN_DIR)/hddapp.tgz bs=6144k count=1
dd if=$(BIN_DIR)/$(IMG_PREFIX)-$(1).img of=$(BIN_DIR)/hddapp.tgz bs=6144k count=1 seek=1
- cp $(KDIR)/$(IMG_PREFIX)-nas4220-zImage $(BIN_DIR)/zImage
+ cp $(KDIR)/$(IMG_PREFIX)-nas4220-zImage $(BIN_DIR)/
+ cp $(BIN_DIR)/$(IMG_PREFIX)-nas4220-zImage $(BIN_DIR)/zImage
cp ./ImageInfo-ib4220 $(BIN_DIR)/ImageInfo
(cd $(BIN_DIR); tar -czf $(IMG_PREFIX)-sysupgrade-ib4220.tar.gz ImageInfo zImage rd.gz hddapp.tgz)
mv $(BIN_DIR)/rd.gz $(BIN_DIR)/$(IMG_PREFIX)-nas4220-rd.gz