projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c56854
)
image.mk: add a fit recipe
author
Jonas Gorski
<
[email protected]
>
Fri, 14 Aug 2015 15:10:42 +0000
(15:10 +0000)
committer
Jonas Gorski
<
[email protected]
>
Fri, 14 Aug 2015 15:10:42 +0000
(15:10 +0000)
Add a recipe to build a fit wrapped kernel (and optional dtb).
Signed-off-by: Jonas Gorski <
[email protected]
>
SVN-Revision: 46600
include/image.mk
patch
|
blob
|
history
diff --git
a/include/image.mk
b/include/image.mk
index 572223104462dd28e553a6158529b19b6624fcb2..56c60d608743ab0d9c8216c321c533463207e25c 100644
(file)
--- a/
include/image.mk
+++ b/
include/image.mk
@@
-308,6
+308,16
@@
define Build/netgear-chk
mv
[email protected]
$@
endef
+define Build/fit
+ $(TOPDIR)/scripts/mkits.sh \
+ -D $(DEVICE_NAME) -o
[email protected]
-k $@ \
+ $(if $(word 2,$(1)),-d $(word 2,$(1))) -C $(word 1,$(1)) \
+ -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \
+ -A $(ARCH) -v $(LINUX_VERSION)
+ PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f
[email protected]
[email protected]
+ @mv
[email protected]
$@
+endef
+
define Build/lzma
$(STAGING_DIR_HOST)/bin/lzma e $@ -lc1 -lp2 -pb2 $(1)
[email protected]
@mv
[email protected]
$@