diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-13 03:35:14 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-13 03:35:14 +0000 |
commit | 5ed845fbeafd4c98fbc9cde47af5fdb36e5b8f00 (patch) | |
tree | 40055df20007c486c0daa1fd73cb40078816fe48 | |
parent | 8c2f571ddd5458172ab0e3efb3c132a2295340c4 (diff) | |
download | mtk-20170518-5ed845fbeafd4c98fbc9cde47af5fdb36e5b8f00.zip mtk-20170518-5ed845fbeafd4c98fbc9cde47af5fdb36e5b8f00.tar.gz mtk-20170518-5ed845fbeafd4c98fbc9cde47af5fdb36e5b8f00.tar.bz2 |
image: introduce MkuImageARM function
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 38380
-rw-r--r-- | include/image.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk index aa3bf27..67cfa4b 100644 --- a/include/image.mk +++ b/include/image.mk @@ -82,6 +82,11 @@ else endef endif +define Image/BuildKernel/MkuImageARM + mkimage -A arm -O linux -T kernel -a $(1) -C none -e $(1) \ + -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' -d $(2) $(3) +endef + define Image/mkfs/jffs2/sub # FIXME: removing this line will cause strange behaviour in the foreach loop below $(STAGING_DIR_HOST)/bin/mkfs.jffs2 $(3) --pad -e $(patsubst %k,%KiB,$(1)) -o $(KDIR)/root.jffs2-$(2) -d $(TARGET_DIR) -v 2>&1 1>/dev/null | awk '/^.+$$$$/' |