diff options
author | Luka Perkov <luka@openwrt.org> | 2013-10-16 10:29:50 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-10-16 10:29:50 +0000 |
commit | 4f1464dcefd9cf6a30302404d8b83abe52e0735c (patch) | |
tree | 77cfec7e474bb777b65f73a7b8c0cbe82033b843 /include | |
parent | 7ba0aa8dcf19606337d124e25c068c36a6122df3 (diff) | |
download | upstream-4f1464dcefd9cf6a30302404d8b83abe52e0735c.tar.gz upstream-4f1464dcefd9cf6a30302404d8b83abe52e0735c.tar.bz2 upstream-4f1464dcefd9cf6a30302404d8b83abe52e0735c.zip |
build: move mkits.sh script to more common place
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/image.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk index 8f895a3435..729929f9da 100644 --- a/include/image.mk +++ b/include/image.mk @@ -87,6 +87,13 @@ define Image/BuildKernel/MkuImageARM -n 'ARM OpenWrt Linux-$(LINUX_VERSION)' -d $(2) $(3) endef +define Image/BuildKernel/MkFIT + $(TOPDIR)/scripts/mkits.sh \ + -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) -d $(3) -C $(4) -a $(5) -e $(6) \ + -A $(ARCH) -v $(LINUX_VERSION) + PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb +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 '/^.+$$$$/' |