projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a0eae
)
rk: support make resource.img
author
黄涛
<huangtao@rock-chips.com>
Fri, 14 Mar 2014 01:11:01 +0000
(09:11 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 14 Mar 2014 01:13:56 +0000
(09:13 +0800)
arch/arm/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/Makefile
b/arch/arm/Makefile
index 9526bdf7c166fd74d990d9540f1690c23010ae31..c27cdf4c7a942ec51f8d8db2fb2ab8e8129b29da 100644
(file)
--- a/
arch/arm/Makefile
+++ b/
arch/arm/Makefile
@@
-337,3
+337,7
@@
kernel.img: zImage
$(srctree)/mkkrnlimg $(objtree)/zImage-dtb $(objtree)/kernel.img >/dev/null && \
rm -f $(objtree)/zImage-dtb
@echo ' Image: kernel.img (with $*.dtb) is ready'
+
+%.img: %.dtb kernel.img
+ $(Q)$(srctree)/resource_tool $(objtree)/arch/arm/boot/dts/$*.dtb
+ @echo ' Image: resource.img (with $*.dtb) is ready'