image: introduce MkuImageARM function
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38380
This commit is contained in:
parent
8c2f571ddd
commit
5ed845fbea
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ else
|
||||||
endef
|
endef
|
||||||
endif
|
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
|
define Image/mkfs/jffs2/sub
|
||||||
# FIXME: removing this line will cause strange behaviour in the foreach loop below
|
# 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 '/^.+$$$$/'
|
$(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 '/^.+$$$$/'
|
||||||
|
|
Loading…
Reference in a new issue