summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Sheriker Mallikarjun2017-09-13 18:51:14 +0000
committerJohn Crispin2017-09-20 07:00:25 +0000
commitfeb1907270622f094a54ef23a20e8991908eca25 (patch)
tree890cdece315b7abf55edece5218f1f55ad8c77d7
parentf8a5ac1a8835b9c826286469379a143ff9e532d5 (diff)
downloadopenwrt-feb1907270622f094a54ef23a20e8991908eca25.tar.gz
build: add image command for installing zImage file.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
-rw-r--r--include/image-commands.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 2aac8fb15d..acf25d64da 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -114,6 +114,11 @@ define Build/install-dtb
)
endef
+define Build/install-zImage
+ $(CP) $(KDIR)/zImage \
+ $(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE_SANITIZED)-zImage
+endef
+
define Build/fit
$(TOPDIR)/scripts/mkits.sh \
-D $(DEVICE_NAME) -o $@.its -k $@ \