rk: build resource.img with logo.bmp

This commit is contained in:
黄涛 2014-04-10 09:37:14 +08:00
parent fc80c08f9f
commit c817f7be5e
2 changed files with 4 additions and 3 deletions

View file

@ -338,6 +338,7 @@ kernel.img: zImage
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'
LOGO := $(notdir $(wildcard $(srctree)/logo.bmp))
%.img: %.dtb kernel.img $(LOGO)
$(Q)$(srctree)/resource_tool $(objtree)/arch/arm/boot/dts/$*.dtb $(LOGO)
@echo ' Image: resource.img (with $*.dtb $(LOGO)) is ready'

BIN
logo.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB