From 5ed845fbeafd4c98fbc9cde47af5fdb36e5b8f00 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sun, 13 Oct 2013 03:35:14 +0000 Subject: [PATCH] image: introduce MkuImageARM function Signed-off-by: Luka Perkov SVN-Revision: 38380 --- include/image.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/image.mk b/include/image.mk index aa3bf27de0..67cfa4b677 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 '/^.+$$$$/' -- 2.25.1