diff options
author | John Crispin <john@openwrt.org> | 2014-10-06 20:05:39 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-10-06 20:05:39 +0000 |
commit | 90cbc9a04fce0bee57bd7b2983e6ae570edfb189 (patch) | |
tree | a991ae150c7605aedd560f5832902b781ce7afb0 /target/linux/octeon | |
parent | 3ff9c76e9e4acf0c47c9ea1f299194c32381b20f (diff) | |
download | mtk-20170518-90cbc9a04fce0bee57bd7b2983e6ae570edfb189.zip mtk-20170518-90cbc9a04fce0bee57bd7b2983e6ae570edfb189.tar.gz mtk-20170518-90cbc9a04fce0bee57bd7b2983e6ae570edfb189.tar.bz2 |
octeon: prepare elf kernel image and md5sum for usb copying
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 42809
Diffstat (limited to 'target/linux/octeon')
-rw-r--r-- | target/linux/octeon/image/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/octeon/image/Makefile b/target/linux/octeon/image/Makefile index 25a8149..f06dd6b 100644 --- a/target/linux/octeon/image/Makefile +++ b/target/linux/octeon/image/Makefile @@ -12,6 +12,8 @@ define Image/BuildKernel $(TARGET_CROSS)strip -R .notes $(KDIR)/vmlinux.elf -o $(BIN_DIR)/$(IMG_PREFIX)-vmlinux.elf $(STAGING_DIR_HOST)/bin/lzma e $(KDIR)/vmlinux $(KDIR)/vmlinux.bin.l7 dd if=$(KDIR)/vmlinux.bin.l7 of=$(BIN_DIR)/$(IMG_PREFIX)-vmlinux.lzma bs=65536 conv=sync + $(CP) $(KDIR)/vmlinux.elf $(BIN_DIR)/vmlinux.64 + md5sum $(BIN_DIR)/vmlinux.64 | cut -d " " -f 1 | tee $(BIN_DIR)/vmlinux.64.md5 endef define Image/Build/squashfs |