From: Masahiro Yamada Date: Mon, 3 Mar 2014 09:40:56 +0000 (+0900) Subject: kbuild: tools: fix a bug that always builds Denx logo X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=603f51cbd2d610fcc52e04fa74b2172712eca644;p=u-boot.git kbuild: tools: fix a bug that always builds Denx logo LOGO_BMP was never overwritten by board-specific or vendor-specific logos. Signed-off-by: Masahiro Yamada Reported-by: Bo Shen Tested-by: Bo Shen --- diff --git a/tools/Makefile b/tools/Makefile index 8fccc650cc..bac6aafc80 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -157,10 +157,10 @@ ifeq ($(LOGO_BMP),) LOGO_BMP= $(srctree)/$(src)/logos/denx.bmp # Use board logo and fallback to vendor -ifneq ($(wildcard logos/$(BOARD).bmp),) +ifneq ($(wildcard $(srctree)/$(src)/logos/$(BOARD).bmp),) LOGO_BMP= $(srctree)/$(src)/logos/$(BOARD).bmp else -ifneq ($(wildcard logos/$(VENDOR).bmp),) +ifneq ($(wildcard $(srctree)/$(src)/logos/$(VENDOR).bmp),) LOGO_BMP= $(srctree)/$(src)/logos/$(VENDOR).bmp endif endif